@@ -214,14 +214,14 h1. Another title | |||
|
214 | 214 | |
|
215 | 215 | RAW |
|
216 | 216 | |
|
217 |
expected = '< |
|
|
218 |
'< |
|
|
219 |
'< |
|
|
220 |
'< |
|
|
221 |
'< |
|
|
222 |
'</ |
|
|
217 | expected = '<ul class="toc">' + | |
|
218 | '<li class="heading1"><a href="#1">Title</a></li>' + | |
|
219 | '<li class="heading2"><a href="#2">Subtitle</a></li>' + | |
|
220 | '<li class="heading2"><a href="#3">Subtitle with red text</a></li>' + | |
|
221 | '<li class="heading1"><a href="#4">Another title</a></li>' + | |
|
222 | '</ul>' | |
|
223 | 223 | |
|
224 | assert textilizable(raw).include?(expected) | |
|
224 | assert textilizable(raw).gsub("\n", "").include?(expected) | |
|
225 | 225 | end |
|
226 | 226 | |
|
227 | 227 | def test_blockquote |
General Comments 0
You need to be logged in to leave comments.
Login now