Allow to suppress HTML when converting Markdown to HTML

Markdown files may contain HTML snippets. When generating HTML out of
Markdown files the HTML snippets may be suppressed. Suppressing these
HTML snippets is important when the Markdown files are provided by
users and the HTML snippets may contain malicious code.

Gerrit core doesn't need to suppress HTML at the moment, but for
Gerrit plugins that want to use the MarkdownFormatter from Gerrit the
possibility to suppress HTML is important.

Change-Id: Ic847d2bdd6bc16e3f44cd45a30ce0a201aa3a1de
Signed-off-by: Edwin Kempin <edwin.kempin@sap.com>
1 file changed