Skip to content

Commit

Permalink
- Some more toHtml()
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11136 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Feb 14, 2012
1 parent eb6f743 commit 9006250
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Compiler/FrontEnd/ModelicaBuiltin.mo
Expand Up @@ -639,7 +639,7 @@ OpenModelica specifics:
<p>
When OpenModelica does not have a prefix (e.g. in functions or packages),
it returns the name of the model that is simulated suffixed by
<pre><Prefix.NOPRE()></pre>, e.g. <pre>Vehicle.<Prefix.NOPRE()></pre>.
<pre>&lt;Prefix.NOPRE()&gt;</pre>, e.g. <pre>Vehicle.&lt;Prefix.NOPRE()&gt;</pre>.
</p>
<p>
Expand Down
2 changes: 1 addition & 1 deletion Examples/GenerateDoc.mos
Expand Up @@ -124,7 +124,7 @@ algorithm
then preSuffixIfNotEmpty(\"<h2><a name=\\\"info\\\">Information</a></h2><pre>\", item.comment, \"</pre>\")
else if OpenModelica.Scripting.regexBool(item.docInfo[1],\"<html>\") or OpenModelica.Scripting.regexBool(item.docInfo[1],\"<HTML>\")
then \"<h2><a name=\\\"info\\\">Information</a></h2>\" + item.docInfo[1]
else preSuffixIfNotEmpty(\"<h2><a name=\\\"info\\\">Information</a></h2><pre>\", item.docInfo[1], \"</pre>\");
else preSuffixIfNotEmpty(\"<h2><a name=\\\"info\\\">Information</a></h2><pre>\", toHtml(item.docInfo[1]), \"</pre>\");
revision := if item.docInfo[2] <> \"\" then \"<h2><a name=\\\"revisions\\\">Revisions</a></h2>\" + item.docInfo[2] else \"\";
res := item.head + docInfo + item.interface + item.short + item.contents + revision + version + \"</body>\";
end itemString;
Expand Down

0 comments on commit 9006250

Please sign in to comment.