utf8_encode is deprecated in PHP8.2 and as I understand it, will be removed in PHP 9. It is used on one line (122) in class-plantuml-renderer-public.php.
A fix would be to replace line 122
$data = utf8_encode( $text );
with
$data = mb_convert_encoding($text, “UTF-8”, mb_detect_encoding($text));
]]>@startmindmap
* Opening
** 1H
*** 1S
@endmindmap
Even a simple mindmap like the above fails to render. It does work on the PlantUML website and on my local copy.
Something that I’m doing wrong?
Thanks!
As I installed PlantUML by wordpress tool or manually, I see that plantuml is not being rendered on wordpress blog as show on the link. Please help
]]>When I use characters such as ??ü or the ‘ character for comments, they seem to be converted to a ascii string. In cases such as the comment character, this breaks the whole diagram.
]]>When I use PlantUML Renderer on a WordPress instance with Jetpack’s Lazy Image Loading turned on, the uml’s ALT text somehow gets corrupted. So, the browser renders the uml source code right below the (correctly drawn) image.
Turning off Lazy Image Loading prevents this problem.
WordPress 5.1.1
Jetpack 7.1.1
PlantUML Renderer 0.0.3
Hi Todd,
I’d like to ask that the hardcoded URLs on lines 74 and 81 in public/class-plantuml-renderer-public.php?) be customizable with strings set on a Settings page for your plugin. I’m assuming those two places are the only hardcode in the plugin, but you’d know of course.
Is it rude to ask what your donation/$$ would be for this change?
Thanks!
Steve
]]>Hey Todd,
Having some trouble with links in general.
The plantuml_map, doesn’t seem to “map” over the image directly on the link text.
In the page I’m put in the “Link to the page you need help with:”, the link for “RunQuickPricerV2” is down and to the right of the link text.
when I had more “note over”s in the diagram, I couldn’t find the link as it was either very far from the text or maybe not there ?
Going live this morning, so, I’ll be doing a little minimizing to get it to demo.
Mike
]]>Thank you for building the plugin; PlantUML is a favourite of mine and it’s getting to the point that I know I’ve got useful software if there’s a plugin for PlantUML.
I have a fairly substantial collection of static and auto-generated docs. So many that it was better — and more secure — to setup my own plantuml server on our site.
I found the following line in the codebase and it gives the impression the server is hardcoded: $img = ‘<img src=https://www.plantuml.com/plantuml/img/’;
Are there settings for customizing the rendering server URL?
]]>Hello,
when I try to generate the sample diagram, the image on the website is not generated. This is the code in the backend:
Now comes a diagram:
[plantuml]
Alice -> Bob: Authentication Request
Bob –> Alice: Authentication Response
Alice -> Bob: Another authentication Request
Alice <– Bob: another authentication Response
[/plantuml]
And now some text.
The image on the website gets the URL https://www.plantuml.com/plantuml/img/0m00. That leads to an HTTP error 400.
Do you have any ideas what might be wrong here?
]]>here is the UML that I added my own links to.
[plantuml]
actor Bob
actor “This is [[https://www.google.com/ Alice]] actor” as Alice
[/plantuml]
Our company is looking to automate our documentation generation using UML in wordpress and the ability to embed links to drill down into each item is the key to this approach.
Mike
]]>Hi ive just installed your plugin and im getting the following license issue…
If you use this software you accept its license.
]]>I have used the plugin for my UML representations and it has been working great.
However it is failing on the following situations:
[plantuml]
Person “0..1” <–> “*” Car
Hide circle
Hide Methods
Hide Members
[/plantuml]
[plantuml]
Car – Person: <owns
Hide circle
Hide Methods
Hide Members
[/plantuml]
I get:
On the first case the correct rendering but the part “”*” Car Hide circle Hide Methods Hide Members >” gets rendered with. (I’ve tried escaping some html and other tricks)
On the second case I don’t get the arrow pointing the direction of the relationship rendered but end up with “<owns” written
]]>