From fb125de072338f56dfd2ba08bab3c08c19ebdc6e Mon Sep 17 00:00:00 2001
From: "C. Scott Ananian"
Date: Tue, 24 Jun 2014 14:15:25 -0400
Subject: [PATCH] Allow HTML5
!! end
-## a,rtc not permitted
+## a not permitted
## i,b,br omitted
!! test
Text-level semantic html elements in wikitext
@@ -1109,7 +1109,7 @@ Text-level semantic html elements in wikitext
text
text
text
-明日
+明日
text
text
text
@@ -1132,7 +1132,7 @@ Text-level semantic html elements in wikitext
text
text
text
-明日
+明日
text
text
text
@@ -1140,6 +1140,46 @@ Text-level semantic html elements in wikitext
!! end
+# test cases taken from
+# http://www.w3.org/TR/html5/text-level-semantics.html#the-ruby-element
+!! test
+Ruby markup (W3C-style)
+!! wikitext
+; Mono-ruby for individual base characters
+: 日本語
+; Group ruby
+: 今日
+; Jukugo ruby
+: 法華経
+; Inline ruby
+: 東京
+; Double-sided ruby
+: 旧金山
+
+
+♥
+☘
+✶
+
+!! html
+- Mono-ruby for individual base characters
+- 日本語
+- Group ruby
+- 今日
+- Jukugo ruby
+- 法華経
+- Inline ruby
+- 東京
+- Double-sided ruby
+- 旧金山
+
+♥
+☘
+✶
+
+
+!! end
+
!! test
Non-word characters don't terminate tag names (bug 17663, 40670, 52022)
!! wikitext