Skip to content

Commit

Permalink
Strip leading newline in img.alt attributes (modelica#3938)
Browse files Browse the repository at this point in the history
I don't know exactly why, but these are causing some kind of problem in System Modeler, and I don't see why one would like to keep them.
  • Loading branch information
henrikt-ma committed Jan 21, 2022
1 parent 8345852 commit bd8f3c3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions Modelica/Electrical/QuasiStatic/UsersGuide/Overview/ACCircuit.mo
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ The voltage drop across the resistor
<img
border=\"0\"
src=\"modelica://Modelica/Resources/Images/Electrical/QuasiStatic/UsersGuide/Overview/ACCircuit/img1.png\"
alt=\"
\\underline{v}_{r}=R\\underline{i}\">
alt=\"\\underline{v}_{r}=R\\underline{i}\">
</div>
<p>
Expand All @@ -41,8 +40,7 @@ and the inductor
<img
border=\"0\"
src=\"modelica://Modelica/Resources/Images/Electrical/QuasiStatic/UsersGuide/Overview/ACCircuit/img2.png\"
alt=\"
\\underline{v}_{l}=j\\omega L\\underline{i}\">
alt=\"\\underline{v}_{l}=j\\omega L\\underline{i}\">
</div>
<p>
Expand All @@ -53,8 +51,7 @@ and the capacitor
<img
border=\"0\"
src=\"modelica://Modelica/Resources/Images/Electrical/QuasiStatic/UsersGuide/Overview/ACCircuit/img3.png\"
alt=\"
\\underline{v}_{l}=j\\omega L\\underline{i}\">
alt=\"\\underline{v}_{l}=j\\omega L\\underline{i}\">
</div>
<p>
Expand All @@ -65,8 +62,7 @@ add up to the total voltage
<img
border=\"0\"
src=\"modelica://Modelica/Resources/Images/Electrical/QuasiStatic/UsersGuide/Overview/ACCircuit/img4.png\"
alt=\"
\\underline{v}=\\underline{v}_{r}+\\underline{v}_{l}\">
alt=\"\\underline{v}=\\underline{v}_{r}+\\underline{v}_{l}\">
</div>
<p>
Expand Down

0 comments on commit bd8f3c3

Please sign in to comment.