diff --git a/Mup.Tests/CreoleToHtmlTestData.cs b/Mup.Tests/CreoleToHtmlTestData.cs index 24f8ef7..34a99af 100644 --- a/Mup.Tests/CreoleToHtmlTestData.cs +++ b/Mup.Tests/CreoleToHtmlTestData.cs @@ -908,6 +908,24 @@ public static class CreoleToHtmlTestData new object[] { "plain **bold 1*** plain ****bold 2***** plain", "

plain bold 1* plain **bold 2*** plain

" + }, + + new object[] + { + "//this **is** a **test**//", + "

this is a test

" + }, + + new object[] + { + "[[url|this **is** a **test**]]", + "

this is a test

" + }, + + new object[] + { + "//One **activator** can control multiple **effects** or activate one **effect** in multiple different {{{Island States}}}//", + "

One activator can control multiple effects or activate one effect in multiple different Island States

" } }; diff --git a/Mup/AssemblyInfo.cs b/Mup/AssemblyInfo.cs index faedd2e..2bf2e72 100644 --- a/Mup/AssemblyInfo.cs +++ b/Mup/AssemblyInfo.cs @@ -11,8 +11,8 @@ [assembly: AssemblyDescription("Markup Parser (Mup) is an extensible .NET Standard Library (1.0) containing types for parsing and generating HTML from text using the Creole lightweight markup language.")] [assembly: AssemblyProduct("Mup")] -[assembly: AssemblyVersion("1.1.0.0")] -[assembly: AssemblyFileVersion("1.1.0.0")] +[assembly: AssemblyVersion("1.1.2.0")] +[assembly: AssemblyFileVersion("1.1.2.0")] [assembly: InternalsVisibleTo("Mup.Tests, PublicKey=00240000048000009400000006020000002400005253413100040000010001002d17cd4dbf3d1a7c18152c73f8d8fcea40eb34e159075478100f355daef09b03e784904d53e6946b9e874ff60cb3e4d7a7658ab2662ffac23560117cb8ec3958b652a0bbac0e52f506e831d5e4f0fa36e5a8d480de1174e7246bbb80ef61724d1a242d34ba9fad1924cb2d8a1e17bb9e3fbb356b7b01b99ceaa4ee55b42992d2")] [assembly: InternalsVisibleTo("Mup.Tests.Net20, PublicKey=00240000048000009400000006020000002400005253413100040000010001004d7e0c57d1e1da1dc5422a43910c189255b658ed523ca3987db8830319753df83b92472a2dcf731069d7879c9b33aa8d4525683cf8d682a6ec6bc461409c27e0bfa62fac9907f264f08d1ad2551b2cf017c7027ace38ce1a9c0b366779cbd2d2768dfc6177f0176464605adf136d993595dc0563c042f16db7069f4074b31dc6")] diff --git a/Mup/Creole/ElementParsers/CreoleRichTextBlockElementParser.cs b/Mup/Creole/ElementParsers/CreoleRichTextBlockElementParser.cs index d2336fd..a26e0c4 100644 --- a/Mup/Creole/ElementParsers/CreoleRichTextBlockElementParser.cs +++ b/Mup/Creole/ElementParsers/CreoleRichTextBlockElementParser.cs @@ -124,7 +124,7 @@ private static void _CreateHierarchy(LinkedList elementInfos) { var childElementInfoNode = parentElementInfoNode.Next; var childElementInfo = childElementInfoNode.Value; - parentElementInfo.Children.AddFirst(childElementInfo); + parentElementInfo.Children.AddLast(childElementInfo); elementInfos.Remove(childElementInfoNode); } parentElementInfoNode = parentElementInfoNode.Previous; diff --git a/Mup/Mup.csproj b/Mup/Mup.csproj index 8c2babf..0735950 100644 --- a/Mup/Mup.csproj +++ b/Mup/Mup.csproj @@ -6,7 +6,7 @@ True Mup.snk False - 1.1.0 + 1.1.2 Mup.nuspec diff --git a/Mup/Mup.nuspec b/Mup/Mup.nuspec index 522ce62..1b7b188 100644 --- a/Mup/Mup.nuspec +++ b/Mup/Mup.nuspec @@ -3,7 +3,7 @@ Mup Mup - 1.1.1 + 1.1.2 Andrei Fangli Andrei15193 http://www.mup-project.net/