Skip to content

Commit

Permalink
fix: Fixed PlantUML support
Browse files Browse the repository at this point in the history
  • Loading branch information
shd101wyy committed Mar 3, 2020
1 parent 0ccb50e commit b55ffdc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vickymd",
"version": "0.1.1",
"version": "0.1.2",
"description": "An experimental WYSIWYG markdown editor built on top of HyperMD with extended Widgets support",
"main": "./everything.js",
"types": "./everything.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/powerpack/fold-code-with-plantuml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const PlantUMLRenderer: CodeRenderer = (code, info) => {
el.style.margin = "8px";

const encoded = window["plantumlEncoder"].encode(code);
const url = "http://www.plantuml.com/plantuml/img/" + encoded;
const url = "https://www.plantuml.com/plantuml/img/" + encoded;

el.setAttribute("id", id);

Expand Down

0 comments on commit b55ffdc

Please sign in to comment.