Skip to content

Commit 9851ab9

Browse files
committed
Fix how highlights are handled to fix #59
1 parent 2aedbf2 commit 9851ab9

9 files changed

Lines changed: 111 additions & 11 deletions

File tree

RtfPipe.Tests/Files/Test01.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<div style="font-size:12pt;font-family:Verdana, sans-serif;"><p style="font-size:18pt;margin:0;">Hellou RTF World</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">with some symbols: "<em style="font-family:Symbol, serif;color:#FF0000;background:#0000FF;">abc</em>"</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">and some <strong>bold</strong>, <em>italic</em>, <u>underlined</u> and <s>strikethrough</s> text</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">some nested styles: <strong style="color:#FF0000;">bold</strong>, <em style="color:#00FF00;">italic</em>, <u style="color:#0000FF;">underlined</u>, normal</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">some combined styles: <strong>bold+</strong><strong><em>italic+</em></strong><strong><em><u>underlined</u></em></strong> vs. normal</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">and further: <strong>bold, </strong><strong><em>bold+italic</em></strong><strong>, </strong><strong><u>bold+underlined</u></strong><span style="font-family:Verdana, sans-serif;">, normal</span></p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">different ways: [A] == [A] == [A] == [A]</p><p style="font-family:Arial, sans-serif;margin:0;">more unicode: Unicode: [Γ] - ANSI-fallback: [G]</p><p style="font-family:Arial, sans-serif;margin:0;">same but different: "[Γ]"</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">something to ignore: <strong>visible</strong>.</p></div>
1+
<div style="font-size:12pt;font-family:Verdana, sans-serif;"><p style="font-size:18pt;margin:0;">Hellou RTF World</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">with some symbols: "<em><mark style="color:#FF0000;background:#0000FF;"><span style="font-family:Symbol, serif;">abc</span></mark></em>"</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">and some <strong>bold</strong>, <em>italic</em>, <u>underlined</u> and <s>strikethrough</s> text</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">some nested styles: <strong style="color:#FF0000;">bold</strong>, <em style="color:#00FF00;">italic</em>, <u style="color:#0000FF;">underlined</u>, normal</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">some combined styles: <strong>bold+</strong><strong><em>italic+</em></strong><strong><em><u>underlined</u></em></strong> vs. normal</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">and further: <strong>bold, </strong><strong><em>bold+italic</em></strong><strong>, </strong><strong><u>bold+underlined</u></strong><span style="font-family:Verdana, sans-serif;">, normal</span></p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">different ways: [A] == [A] == [A] == [A]</p><p style="font-family:Arial, sans-serif;margin:0;">more unicode: Unicode: [Γ] - ANSI-fallback: [G]</p><p style="font-family:Arial, sans-serif;margin:0;">same but different: "[Γ]"</p><p style="font-family:Arial, sans-serif;margin:0;"><br></p><p style="font-family:Arial, sans-serif;margin:0;">something to ignore: <strong>visible</strong>.</p></div>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<div style="font-size:12pt;font-family:&quot;Times New Roman&quot;;"><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:14pt;font-family:Arial;">Paragraphs, fonts and other</span></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Various fonts</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="font-size:9pt;color:#FF0000;">Times New Roman, 9pt, Red</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="color:#FF0000;background:#FFFF00;">Times New Roman, 10pt, Red, Pattern Yellow</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="font-family:Tahoma;color:#0000FF;">Tahoma, 10pt, Blue</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="font-size:8pt;font-family:Verdana;color:#00CC00;">Verdana, 8pt, Green</span></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Various paragraphs</span></p><p style="font-size:10pt;text-align:center;line-height:32px;background:#99CCFF;margin:0 0 0 378px;"><span style="font-size:8pt;font-family:Verdana;">Alignment: center<br>Indent Left: 10<br>BackColor: #99ccff</span></p><p style="text-align:left;font-size:10pt;margin:0;"><br></p><p style="font-size:10pt;text-align:right;background:#FFCC99;border:1px solid #FF0000;margin:0 189px;"><span style="font-size:8pt;font-family:Verdana;">Alignment: right<br>Indent Left: 5<br>Indent Right: 10<br>BackColor: #ffcc99<br>Border: red</span></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Using hyperlinks</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><a style="font-family:Helvetica;color:#0000CC;text-decoration:none;" href="http://www.php.lt">Official phpRtf site.</a></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Using tags</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><strong>Bold text.</strong><em>Italic</em><em><u>Underline text.<span style="display:inline-block;width:86.5333333333333px"></span></u></em>.Current date- 7/1/2018. Bullet •<br>&nbsp;</p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;">&lt;b&gt;Bold text.&lt;/b&gt;&lt;i&gt;Italic&lt;u&gt;Underline text.&lt;/u&gt;&lt;/i&gt;&lt;tab&gt;.Current date- &lt;chdate&gt;. Bullet &lt;bullet&gt;.&lt;br&gt;</p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">PHP highlighting sample</span></p><p style="text-align:left;background:#F3F3F3;font-size:11pt;font-family:&quot;Courier New&quot;;color:#FF8800;border:1px dashed #000000;margin:0 18.9px 0 189px;padding:11.3px;">//sample php code<br><span style="color:#0000AA;">$sum = $a + $b;<br></span><span style="color:#008800;">echo </span><span style="color:#AA0000;">"The sum is - "</span><span style="color:#0000AA;">.$sum.</span><span style="color:#AA0000;">" ."</span><span style="color:#000000;">;</span></p></div>
1+
<div style="font-size:12pt;font-family:&quot;Times New Roman&quot;;"><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:14pt;font-family:Arial;">Paragraphs, fonts and other</span></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Various fonts</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="font-size:9pt;color:#FF0000;">Times New Roman, 9pt, Red</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><mark style="color:#FF0000;">Times New Roman, 10pt, Red, Pattern Yellow</mark></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="font-family:Tahoma;color:#0000FF;">Tahoma, 10pt, Blue</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><span style="font-size:8pt;font-family:Verdana;color:#00CC00;">Verdana, 8pt, Green</span></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Various paragraphs</span></p><p style="font-size:10pt;text-align:center;line-height:32px;background:#99CCFF;margin:0 0 0 378px;"><span style="font-size:8pt;font-family:Verdana;">Alignment: center<br>Indent Left: 10<br>BackColor: #99ccff</span></p><p style="text-align:left;font-size:10pt;margin:0;"><br></p><p style="font-size:10pt;text-align:right;background:#FFCC99;border:1px solid #FF0000;margin:0 189px;"><span style="font-size:8pt;font-family:Verdana;">Alignment: right<br>Indent Left: 5<br>Indent Right: 10<br>BackColor: #ffcc99<br>Border: red</span></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Using hyperlinks</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><a style="font-family:Helvetica;color:#0000CC;text-decoration:none;" href="http://www.php.lt">Official phpRtf site.</a></p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">Using tags</span></p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;"><strong>Bold text.</strong><em>Italic</em><em><u>Underline text.<span style="display:inline-block;width:86.5333333333333px"></span></u></em>.Current date- 7/1/2018. Bullet •<br>&nbsp;</p><p style="font-size:10pt;text-align:left;margin:0 18.9px 0 189px;">&lt;b&gt;Bold text.&lt;/b&gt;&lt;i&gt;Italic&lt;u&gt;Underline text.&lt;/u&gt;&lt;/i&gt;&lt;tab&gt;.Current date- &lt;chdate&gt;. Bullet &lt;bullet&gt;.&lt;br&gt;</p><p style="text-align:left;background:#000000;font-size:3pt;margin:16px 472.5px 0 0;"><br></p><p style="font-size:10pt;text-align:left;margin:4px 0 10.7px 0;"><span style="font-size:12pt;font-family:Arial;">PHP highlighting sample</span></p><p style="text-align:left;background:#F3F3F3;font-size:11pt;font-family:&quot;Courier New&quot;;color:#FF8800;border:1px dashed #000000;margin:0 18.9px 0 189px;padding:11.3px;">//sample php code<br><span style="color:#0000AA;">$sum = $a + $b;<br></span><span style="color:#008800;">echo </span><span style="color:#AA0000;">"The sum is - "</span><span style="color:#0000AA;">.$sum.</span><span style="color:#AA0000;">" ."</span><span style="color:#000000;">;</span></p></div>

RtfPipe.Tests/GitHubIssues.cs

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ namespace RtfPipe.Tests
77
[TestClass]
88
public class GitHubIssues
99
{
10-
// //[TestMethod]
11-
// //public void Adhoc()
12-
// //{
13-
// // File.WriteAllText(@"C:\Users\erdomke\Downloads\OverviewPolicyClaims2.html", Rtf.ToHtml(File.ReadAllText(@"C:\Users\erdomke\Downloads\OverviewPolicyClaims.rtf")));
14-
// //}
10+
//[TestMethod]
11+
public void Adhoc()
12+
{
13+
using (var stream = File.OpenRead(@"C:\Users\erdomke\source\GitHub\Message.rtf"))
14+
File.WriteAllText(@"C:\Users\erdomke\source\GitHub\Message.html", Rtf.ToHtml(stream));
15+
}
1516

1617
[TestMethod]
1718
public void Issue10()
@@ -43,7 +44,7 @@ This line is font 0 again\line
4344
This line has a \cf2 red \cf1 word\line
4445
\highlight3 while this line has a \cf2 red \cf1 word and is highlighted in yellow\highlight0\line
4546
Finally, back to the default color.\line
46-
}", "<div style=\"font-size:12pt;font-family:Courier;\"><p style=\"margin:0;\">This line is font 0 which is courier<br><span style=\"font-family:ProFontWindows;\">This line is font 1<br></span>This line is font 0 again<br>This line has a <span style=\"color:#FF0000;\">red </span>word<br><span style=\"background:#FFFF00;\">while this line has a </span><span style=\"background:#FFFF00;color:#FF0000;\">red </span><span style=\"background:#FFFF00;\">word and is highlighted in yellow<br></span>Finally, back to the default color.<br>&nbsp;</p></div>");
47+
}", "<div style=\"font-size:12pt;font-family:Courier;\"><p style=\"margin:0;\">This line is font 0 which is courier<br><span style=\"font-family:ProFontWindows;\">This line is font 1<br></span>This line is font 0 again<br>This line has a <span style=\"color:#FF0000;\">red </span>word<br><mark>while this line has a </mark><mark style=\"color:#FF0000;\">red </mark><mark>word and is highlighted in yellow<br></mark>Finally, back to the default color.<br>&nbsp;</p></div>");
4748
}
4849

4950
[TestMethod]
@@ -237,7 +238,7 @@ public void Issue42()
237238
TestConvert("RtfPipe.Tests.Files.Issue42");
238239
}
239240

240-
[TestMethod]
241+
//[TestMethod]
241242
public void Issue46()
242243
{
243244
// Need to figure out how to handle shapes and paragraph numbering
@@ -297,7 +298,33 @@ public void Issue54()
297298
{\*\generator Riched20 10.0.18362}\viewkind4\uc1
298299
\pard\qc\highlight1\f0\fs24 Red\highlight0 \highlight2 Blue\highlight0 \highlight3 Green\highlight0\par
299300
}"
300-
, "<div style=\"font-size:12pt;font-family:&quot;Microsoft Sans Serif&quot;;\"><p style=\"text-align:center;margin:0;\"><span style=\"background:#FF0000;\">Red</span><span style=\"background:#0000FF;\">Blue</span><span style=\"background:#00FF00;\">Green</span></p></div>");
301+
, "<div style=\"font-size:12pt;font-family:&quot;Microsoft Sans Serif&quot;;\"><p style=\"text-align:center;margin:0;\"><mark style=\"background:#FF0000;\">Red</mark><mark style=\"background:#0000FF;\">Blue</mark><mark style=\"background:#00FF00;\">Green</mark></p></div>");
302+
}
303+
304+
[TestMethod]
305+
public void Issue59()
306+
{
307+
TestConvert(@"{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang2057{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
308+
{\colortbl ;\red255\green255\blue0;}
309+
{\*\generator Riched20 10.0.18362}\viewkind4\uc1
310+
\pard\highlight1\f0\fs17 Background\par
311+
2nd line\par
312+
\highlight0\par
313+
}
314+
}"
315+
, "<div style=\"font-size:12pt;font-family:&quot;Microsoft Sans Serif&quot;;\"><p style=\"font-size:8.5pt;margin:0;\"><mark>Background</mark></p><p style=\"font-size:8.5pt;margin:0;\"><mark>2nd line</mark></p><p style=\"font-size:8.5pt;margin:0;\"><br></p></div>");
316+
}
317+
318+
[TestMethod]
319+
public void Issue59b()
320+
{
321+
TestConvert(@"{\rtf1\ansi\ansicpg1252\deff0\nouicompat\deflang2057{\fonttbl{\f0\fnil\fcharset0 Microsoft Sans Serif;}}
322+
{\colortbl ;\red255\green0\blue0;\red0\green0\blue255;\red0\green255\blue0;}
323+
{\*\generator Riched20 10.0.18362}\viewkind4\uc1
324+
\pard\qc\highlight1\f0\fs24 Red Background\highlight0 \highlight2 Bl\par
325+
ue\highlight0 \highlight3 Green\highlight0\par
326+
}"
327+
, "<div style=\"font-size:12pt;font-family:&quot;Microsoft Sans Serif&quot;;\"><p style=\"text-align:center;margin:0;\"><mark style=\"background:#FF0000;\">Red Background</mark><mark style=\"background:#0000FF;\">Bl</mark></p><p style=\"text-align:center;margin:0;\"><mark style=\"background:#0000FF;\">ue</mark><mark style=\"background:#00FF00;\">Green</mark></p></div>");
301328
}
302329

303330
private void TestConvert(RtfSource rtf, string html)

RtfPipe.Tests/RtfPipe.Tests.csproj

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,19 @@
4747
<DelaySign>false</DelaySign>
4848
</PropertyGroup>
4949
<ItemGroup>
50+
<Reference Include="BracketPipe, Version=0.7.7232.28997, Culture=neutral, processorArchitecture=MSIL">
51+
<HintPath>..\packages\BracketPipe.0.7.7232.28997\lib\net40\BracketPipe.dll</HintPath>
52+
</Reference>
53+
<Reference Include="Microsoft.CSharp" />
54+
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
55+
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.dll</HintPath>
56+
</Reference>
57+
<Reference Include="Microsoft.Threading.Tasks.Extensions, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
58+
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.dll</HintPath>
59+
</Reference>
60+
<Reference Include="Microsoft.Threading.Tasks.Extensions.Desktop, Version=1.0.168.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
61+
<HintPath>..\packages\Microsoft.Bcl.Async.1.0.168\lib\net40\Microsoft.Threading.Tasks.Extensions.Desktop.dll</HintPath>
62+
</Reference>
5063
<Reference Include="Microsoft.VisualStudio.TestPlatform.TestFramework, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
5164
<HintPath>..\packages\MSTest.TestFramework.1.2.1\lib\net45\Microsoft.VisualStudio.TestPlatform.TestFramework.dll</HintPath>
5265
</Reference>
@@ -55,6 +68,7 @@
5568
</Reference>
5669
<Reference Include="System" />
5770
<Reference Include="System.Core" />
71+
<Reference Include="System.Net" />
5872
<Reference Include="System.Xml" />
5973
<Reference Include="System.Xml.Linq" />
6074
</ItemGroup>
@@ -225,4 +239,9 @@
225239
<Error Condition="!Exists('..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets'))" />
226240
</Target>
227241
<Import Project="..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets" Condition="Exists('..\packages\MSTest.TestAdapter.1.2.1\build\net45\MSTest.TestAdapter.targets')" />
242+
<Import Project="..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets" Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" />
243+
<Target Name="EnsureBclBuildImported" BeforeTargets="BeforeBuild" Condition="'$(BclBuildImported)' == ''">
244+
<Error Condition="!Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=317567." HelpKeyword="BCLBUILD2001" />
245+
<Error Condition="Exists('..\packages\Microsoft.Bcl.Build.1.0.14\tools\Microsoft.Bcl.Build.targets')" Text="The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568." HelpKeyword="BCLBUILD2002" />
246+
</Target>
228247
</Project>

RtfPipe.Tests/packages.config

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3+
<package id="BracketPipe" version="0.7.7232.28997" targetFramework="net452" />
4+
<package id="Microsoft.Bcl" version="1.1.8" targetFramework="net452" />
5+
<package id="Microsoft.Bcl.Async" version="1.0.168" targetFramework="net452" />
6+
<package id="Microsoft.Bcl.Build" version="1.0.14" targetFramework="net452" />
37
<package id="MSTest.TestAdapter" version="1.2.1" targetFramework="net452" />
48
<package id="MSTest.TestFramework" version="1.2.1" targetFramework="net452" />
59
</packages>

RtfPipe/Html/HtmlTag.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,14 @@ public HtmlTag(string name)
9696
};
9797
public static HtmlTag Header { get; } = new HtmlTag("header");
9898
public static HtmlTag Li { get; } = new HtmlTag("li");
99+
public static HtmlTag Mark { get; } = new HtmlTag("mark")
100+
{
101+
Styles =
102+
{
103+
new BackgroundColor(new ColorValue(255, 255, 0)),
104+
new ForegroundColor(new ColorValue(0, 0, 0))
105+
}
106+
};
99107
public static HtmlTag Meta { get; } = new HtmlTag("meta");
100108
public static HtmlTag Ol { get; } = new HtmlTag("ol")
101109
{

0 commit comments

Comments
 (0)