sytsereitsma / mdbook-plantuml

mdBook preprocessor to render PlantUML diagrams to png images in the book output directory
MIT License
76 stars 14 forks source link

Breaks on linux #21

Closed mritzco closed 2 years ago

mritzco commented 3 years ago

Hi,

Strange issue report and I don't know if it can be fixed, so FYI mainly.

On Linux

Using [preprocessor.plantuml] plantuml-cmd="http://localhost:8080"

Images file will appear but they are broken. They contain the landing html page of plantuml server.

output.log will list this URL (Notice the double // on url)

http://localhost:8080//svg/....

I cloned your repo, bump minor version and build it. Then local install:

cargo install mdbook-plantuml --no-default-features --features plantuml-server --path /my_clone_path/github/mdbook-plantuml

After trying a few tries I realized it works perfectly as it is and the logs are now correct. So recompiling in Linux seems to do the trick.

sytsereitsma commented 2 years ago

Closed because of last comment