Ticket #21 (closed defect: fixed)
Tests failing and textile processing instructions order for SuperRedCloth branch 1.7.6
| Reported by: | mezza | Owned by: | why |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ext | Version: | |
| Keywords: | Cc: |
Description
Thanks for the fixes. The 1.7.6 branch seems to correct all issues I've been facing to date, except for two things:
- The tests all fail during the build process.
- The ordering of textile processor instructions seems to matter and is slightly different from the order expected at Textism
As regards the tests, I'm installing the gem by checking out branch 1.7.6, raking the gem and then installing it locally.
As regards the instruction ordering, this bit of markup works fine:
table(my_class). |\2_. a |_. b |_. c | | 1 | 2 | 3 | 4 |
producing:
<table class="my_class">
<tr>
<th colspan="2">a </th>
<th>b </th>
<th>c </th>
</tr>
<tr>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
<td> 4 </td>
</tr>
</table>
But reversing the order of the spans and header formatter doesn't.
table(my_class). |_\2. a |_. b |_. c | | 1 | 2 | 3 | 4 |
gets processed to
<table class="my_class">
<tr>
<td>_\\2. a </td>
<th>b </th>
<th>c </th>
</tr>
<tr>
<td> 1 </td>
<td> 2 </td>
<td> 3 </td>
<td> 4 </td>
</tr>
</table>
Curiously, the ordering does matter at Textism too, but it's the reverse. Which is correct :-)?
Mezza
Change History
Note: See
TracTickets for help on using
tickets.