Skip to content

Commit 005c849

Browse files
committed
Fix html list examples
1 parent 2349640 commit 005c849

File tree

1 file changed

+19
-6
lines changed

1 file changed

+19
-6
lines changed

app/src/main/kotlin/org/wordpress/aztec/demo/MainActivity.kt

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,28 @@ open class MainActivity : AppCompatActivity(),
109109
" <li>Nine</li>\n" +
110110
" <li>Eight</li>\n" +
111111
"</ol>"
112-
private val ORDERED_REVERSED_NEGATIVE_WITH_START = "<h4>Reversed Start in 10 List:</h4>" +
112+
private val ORDERED_REVERSED_NEGATIVE_WITH_START = "<h4>Reversed Start in 1 List:</h4>" +
113113
"<ol reversed start=\"1\">\n" +
114-
" <li>Ten</li>\n" +
115-
" <li>Nine</li>\n" +
116-
" <li>Eight</li>\n" +
114+
" <li>One</li>\n" +
115+
" <li>Zero</li>\n" +
116+
" <li>Minus One</li>\n" +
117117
"</ol>"
118-
private val ORDERED_REVERSED_WITH_START_IDENT = "<h4>Reversed Start in 4 List:</h4>" +
118+
private val ORDERED_REVERSED_WITH_START_IDENT = "<h4>Reversed Start in 6 List:</h4>" +
119119
"<ol reversed>" +
120-
"<li>dkfdskfdf\\sd\\</li><li>dfds</li><li>fdf</li><li>dfd</li><li>f</li><li>dsfs<ol><li>fdfd</li><li>f</li><li>dsf</li><li>ds</li><li>d</li><li>g</li><li>sdg</li><li>ds</li></ol></li></ol>\n"
120+
" <li>Six</li>" +
121+
" <li>Five</li>" +
122+
" <li>Four</li>" +
123+
" <li>Three</li>" +
124+
" <li>Two</li>" +
125+
" <li>One<ol>" +
126+
" <li>One</li>" +
127+
" <li>Two</li>" +
128+
" <li>Three</li>" +
129+
" <li>Four</li>" +
130+
" <li>Five</li>" +
131+
" <li>Six</li>" +
132+
" <li>Seven</li> " +
133+
" </ol></li></ol>"
121134
private val LINE = "<hr />"
122135
private val UNORDERED = "<ul><li style=\"color:darkred\">Unordered</li><li>Should not have color</li></ul>"
123136
private val QUOTE = "<blockquote>Quote</blockquote>"

0 commit comments

Comments
 (0)