Skip to content

Commit 362c49d

Browse files
committed
Fix HTML tags and double quotes
1 parent b51bc8d commit 362c49d

File tree

4 files changed

+10
-11
lines changed

4 files changed

+10
-11
lines changed

Modelica/Math/nearestInteger.mo

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Math.<strong>nearestInteger</strong>(r);
1717
1818
<h4>Description</h4>
1919
<p>
20-
The input value \"r\" of type Real is converted to the closest Integer value \"i\",
21-
using the <i>round half away from zero</i> rule with the equation:
20+
The input value \"r\" of type Real is converted to the closest Integer value \"i\",
21+
using the <em>round half away from zero</em> rule with the equation:
2222
</p>
2323
<blockquote><pre>
2424
i = <strong>integer</strong>( <strong>floor</strong>( r + 0.5 ) ) for r &gt; 0;
@@ -33,7 +33,7 @@ Math.nearestInteger(0.5); // = 1
3333
Math.nearestInteger(-0.4); // = 0
3434
Math.nearestInteger(-0.5); // = -1
3535
Math.nearestInteger(0.3999999999999999+0.1); // = 0
36-
Math.nearestInteger(1.39999999999999999+0.1); // = 1 (errorneous border case, see note below)
36+
Math.nearestInteger(1.39999999999999999+0.1); // = 1 (erroneous border case, see note below)
3737
</pre></blockquote>
3838
3939
<h4>Note</h4>

Modelica/Utilities/Internal.mo

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ All returned values are of type Integer and have the following meaning:
266266
</p>
267267
268268
<blockquote>
269-
<table border=1 cellspacing=0 cellpadding=2>
269+
<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">
270270
<tr><th>Argument</th>
271271
<th>Range</th>
272272
<th>Description</th></tr>
@@ -302,13 +302,13 @@ All returned values are of type Integer and have the following meaning:
302302
<h4>Note</h4>
303303
<p>This function is impure!</p>
304304
</html>", revisions="<html>
305-
<table border=1 cellspacing=0 cellpadding=2>
305+
<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">
306306
<tr><th>Date</th> <th align=\"left\">Description</th></tr>
307307
308308
<tr><td> June 22, 2015 </td>
309309
<td>
310310
311-
<table border=0>
311+
<table border=\"0\">
312312
<tr><td>
313313
<img src=\"modelica://Modelica/Resources/Images/Logos/dlr_logo.png\">
314314
</td><td valign=\"bottom\">
@@ -348,13 +348,12 @@ dow = Internal.Time.<strong>dayOfWeek</strong>(year, mon, day);
348348
</pre></blockquote>
349349
<h4>Description</h4>
350350
<p>
351-
<p>
352351
Returns the day of the week for a given date using Tomohiko Sakamoto's algorithm.
353352
The returned Integer number of <code>dow</code> has the following meaning:
354353
</p>
355354
356355
<blockquote>
357-
<table border=1 cellspacing=0 cellpadding=2>
356+
<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">
358357
<tr><th>Day of week</th>
359358
<th>Number</th></tr>
360359

Modelica/Utilities/Time.mo

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The returned Integer number of <code>dow</code> has the following meaning:
4646
</p>
4747
4848
<blockquote>
49-
<table border=1 cellspacing=0 cellpadding=2>
49+
<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">
5050
<tr><th>Day of week</th>
5151
<th>Number</th></tr>
5252
@@ -897,7 +897,7 @@ String(d, format)
897897
</p>
898898
<p>
899899
If higher time value are not included, they are added to the next lower time value.
900-
If e.g. days are not part of the format string, but hours, the number of days will be converted
900+
If e.g. days are not part of the format string, but hours, the number of days will be converted
901901
to hours and added to the hours value.
902902
</p>
903903
<p>

Modelica/Utilities/Types.mo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ package Types "Type definitions used in package Modelica.Utilities"
4747
Integer year "Year" annotation(absoluteValue=true);
4848
annotation (Documentation(info="<html>
4949
<blockquote>
50-
<table border=1 cellspacing=0 cellpadding=2>
50+
<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">
5151
<tr><th>Argument</th>
5252
<th>Range</th>
5353
<th>Description</th></tr>

0 commit comments

Comments
 (0)