[Bug] Entities for HTML tags are not preserved
September 11, 2016 at 8:54 am #168399
This is a reproducible bug that I ran into when trying to show users the lines they could edit in an MBIN file to achieve what my mod does.
- Create or edit a mod.
- In the mod’s description, place some HTML where the angle brackets are replaced with their HTML entity equivalents. This should make the HTML print to the page as plain text, instead of being interpreted by the browser.
- Update the mod and look at the page. The HTML displays as plain text, which is what it’s supposed to do.
- Now go back to editing the mod page. The HTML in the description has had the angle bracket entities replaced with actual angle brackets, which means that the browser will interpret it.
- Save the update and look at the page. The HTML no longer displays as plain text.
Please fix it. It should *not* reinterpret entities.
September 15, 2016 at 10:48 pm #169008
September 22, 2016 at 1:12 pm #169288
Hey Desi could you show me what code you were trying to add. as far as i know HTML is not supported on the mod description
September 23, 2016 at 7:20 am #169338
September 27, 2016 at 10:32 pm #169533169338 wrote:
Not HTML, but HTML entities. Use the example I’ve provided in this pastebin: http://pastebin.com/mAD3A42a
Oh ok i know what you mean, if you need to print html on the page then use the <code></code> selectors, there’s a button in the editor where it makes this safe to do so (it has no icon so its an invisible button, but its there hover over to see it)
For everything else just use the visual editor.
You must be logged in to reply to this topic.