mono-docs: Allow HTML codes in documentation
authorXavi Artigas <xavierartigas@yahoo.es>
Tue, 23 Jul 2019 10:45:17 +0000 (12:45 +0200)
committerWooHyun Jung <wh0705.jung@samsung.com>
Mon, 5 Aug 2019 01:39:24 +0000 (10:39 +0900)
commitbb052b9fa609e556a6911769722a276008926650
tree0816a21549e13e09f6038d84387e1c3a9e7670e3
parent1916a2178bbc8bac8311a32baa71d7f0190eb93b
mono-docs: Allow HTML codes in documentation

Summary:
All comments from EO files are HTML-escaped (i.e. "<" is turned into "&lt;"), and this is good.
However all text added by the mono code generator is HTML-escaped too, and that is a pity.
Circumventing the escaping in the generator involves serious code changes so it is simpler to
allow "escaping" characters to avoid escaping...
"<" is turned into "&lt;"
but
"\<" is turned into "<"

If you are giving these strings from C, remember that the backslash needs to be escaped too!
For example: "\\<b\\>Hello\\</b\\>"

This is intended for use in the generators, NOT in the EO docs.

Test Plan: Everything works as before, but now HTML codes can be added from the generators.

Reviewers: lauromoura, vitor.sousa, felipealmeida

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D9380
src/lib/eolian_cxx/grammar/html_escaped_string.hpp