Skip to content

Commit da1b585

Browse files
committed
- Updated documentation
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10797 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent c8b7740 commit da1b585

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Examples/GenerateDoc.mos

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,9 @@ protected
133133
String docInfo, revision;
134134
algorithm
135135
docInfo := if item.docInfo[1] == \"\" or (not OpenModelica.Scripting.regexBool(docInfo,\"^.*<[Hh][Tt][Mm][Ll]>.*$\"))
136-
then preSuffixIfNotEmpty(\"<h2>Information:</h2><pre>\", item.comment, \"</pre>\")
137-
else \"<h2>Information:</h2>\" + item.docInfo[1];
138-
revision := if item.docInfo[2] <> \"\" then \"<h2>Revisions:</h2>\" + item.docInfo[2] else \"\";
136+
then preSuffixIfNotEmpty(\"<h2>Information</h2><pre>\", item.comment, \"</pre>\")
137+
else \"<h2>Information</h2>\" + item.docInfo[1];
138+
revision := if item.docInfo[2] <> \"\" then \"<h2>Revisions</h2>\" + item.docInfo[2] else \"\";
139139
res := item.head + docInfo + item.interface + item.short + item.contents + revision + version;
140140
end itemString;
141141

0 commit comments

Comments
 (0)