modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
481 stars 169 forks source link

HTML issue in Modelica.UsersGuide.ReleaseNotes.Version_1_5 #4001

Open FadyNassif opened 2 years ago

FadyNassif commented 2 years ago

Hello, The content of the hmtl doesn't respect the HTML language, it contains HTML reserved characters in particular < > Example: L 7669: // parameter SIunits.Time startTime[:]={0} \"Output = offset for time < startTime\"; Should be // parameter SIunits.Time startTime[:]={0} \"Output = offset for time &lt; startTime\";

Line 7683

Bug in getInterpolationCoefficients for startTime **<>** 0 fixed:

should be

Bug in getInterpolationCoefficients for startTime **&lt;&gt;** 0 fixed:

Double quotes should also be fixed but this is in the hole documentation and not only in that file. Please refer to the https://www.html.am/reference/html-special-characters.cfm for more information on the html reserved characters.

Thanks

Fady

beutlich commented 2 years ago

There is more than these two lines. These are my findings for unescaped &apos;, &lt; and &gt;: T4001.txt (There might be some false findings due to multi-line HTML tags.)