Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 7140453

Browse files
adrpoOpenModelica-Hudson
authored andcommitted
fix ticket:5250 handle '<' and '>' the way GenerateDoc.mos does
Belonging to [master]: - #2838
1 parent d090ace commit 7140453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/generate_icons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def classToFileName(cl):
5252
The file-system dislikes directory separators, and scripts dislike tokens that expand to other names.
5353
This function uses the same replacement rules as the OpenModelica documentation-generating script.
5454
"""
55-
return cl.replace("/","Division").replace("*","Multiplication")
55+
return cl.replace("/","Division").replace("*","Multiplication").replace("<","x3C").replace(">","x3E")
5656

5757
exp_float = '[+-]?\d+(?:.\d+)?(?:e[+-]?\d+)?'
5858

0 commit comments

Comments
 (0)