Skip to content

[FIX] Markdown - the plugin code converts all applicable characters to HTML entities

Domeshow Emmanuel requested to merge Domeshow/tiki:markdown_plugin_code into master

Assuming we have a tiki syntax like this:

{CODE(colors="shell" theme="default" caption="Clone to a newly created directory named tiki")}
   $ git clone git@gitlab.com:fabiomontefuscolo/tiki.git tiki
{CODE}

The plugin code converts all applicable characters to HTML entities so we can see html tags, which means that you cannot put the content in bold, italic,...

This MR solves this problem by checking if the page is in markdown.

Merge request reports