Signed-off-by: Jean-Christophe Beaupré <jcbrinfo@users.noreply.github.com>
redef fun tpl_css_classes do
var set = new HashSet[String]
if is_intro then set.add "intro"
redef fun tpl_css_classes do
var set = new HashSet[String]
if is_intro then set.add "intro"
- set.add_all mclass.intro.modifiers
- set.add_all modifiers
+ for m in mclass.intro.modifiers do set.add m.to_cmangle
+ for m in modifiers do set.add m.to_cmangle
var tpl = new Template
for modifier in modifiers do
if modifier == "public" then continue
var tpl = new Template
for modifier in modifiers do
if modifier == "public" then continue
+ tpl.add "{modifier.html_escape} "
redef fun tpl_css_classes do
var set = new HashSet[String]
if is_intro then set.add "intro"
redef fun tpl_css_classes do
var set = new HashSet[String]
if is_intro then set.add "intro"
- set.add_all mproperty.intro.modifiers
- set.add_all modifiers
+ for m in mproperty.intro.modifiers do set.add m.to_cmangle
+ for m in modifiers do set.add m.to_cmangle
var tpl = new Template
for modifier in modifiers do
if modifier == "public" then continue
var tpl = new Template
for modifier in modifiers do
if modifier == "public" then continue
+ tpl.add "{modifier.html_escape} "