Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
HTML table is not rendered.
Following code:
<table>
<tr><th>subject</th><th>predicate</th><th>object</th></tr>
<tr>
<td>Nonsuch Primary School</td>
<td>local authority ward</td>
<td>Bartley Green</td>
</tr>
<tr>
<td>Nonsuch Primary School</td>
<td>free school meals percentage</td>
<td>47</td>
</tr>
</table>
is rendered to:
12subject34predicate56object78
9
10Nonsuch Primary School11
12local authority ward13
14Bartley Green15
16
17
18Nonsuch Primary School19
20free school meals percentage21
224723
24
Comment | File | Size | Author |
---|---|---|---|
#5 | Mediawiki-1196580.patch | 412 bytes | kenorb |
Comments
Comment #1
kenorb CreditAttribution: kenorb commentedOld issue: #127213: HTML tags not being rendered
Comment #2
kenorb CreditAttribution: kenorb commentedComment #3
kenorb CreditAttribution: kenorb commentedI've tested following code:
It's rendered to:
Why there are some numbers?
Other example with table:
rendered to:
What the hell?
Comment #4
kenorb CreditAttribution: kenorb commented=> $key = 159 pearwiki_filter/Text/Wiki.php:1081
=> $rule = 'Preformatted' pearwiki_filter/Text/Wiki.php:1082
=> $opts = array ('text' => ' \0311\031\0312\031subject\0313\031\0314\031predicate\0315\031\0316\031object\0317\031\0318\031\n ... pearwiki_filter/Text/Wiki.php:1083
Looks like in Preformatted mode (./Text/Wiki/Render/Xhtml/Preformatted.php)
it's encoding the whole line.
Comment #5
kenorb CreditAttribution: kenorb commentedBug reported here:
http://pear.php.net/bugs/bug.php?id=18625
Patch attached against Text/Wiki/Mediawiki.php.
Marked as fixed, because it's a patch in 3rd party code.