Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Allow XML in threads
ppazos
New
I run a technical forum, where sharing pieces of code and XML is very common.
Each time a user needs to paste some XML on a thread, Vanilla hides all the tags and leaves the text nodes, making the XML unreadable. The current work around is to add spaces after each < and > to make the XML legible, but it is invalid. So if I need to test something with it, I need to copy and remove the spaces.
How can my users share XML and show it as it is on a thread comment?
Thanks.
0
Comments
When ever you paste code, you need to select it and choose code from the drop down menu of the editor so it shows as code.
I don't know what formatting you are using. What editor ?
❌ ✊ ♥. ¸. ••. ¸♥¸. ••. ¸♥ ✊ ❌
It should be possible by enclosing the xml in
~~~
like that:~~~
xml here
~~~
and that should look like that (some microsoft example xml):