Page MenuHomePhabricator

Indented pre blocks just broken
Closed, ResolvedPublic

Description

We have a rule for this (pre_indent_in_tags) but it looks pathological and I'm going to disable it for now because it doesn't match (the end tag isn't reachable).

<pre class="123">hi</pre>

parses as,

<pre><pre class="123">hi</pre></pre>

but in php,

<pre class="123">hi</pre>

Details

Event Timeline

Arlolra raised the priority of this task from to Medium.
Arlolra updated the task description. (Show Details)
Arlolra subscribed.

Change 229857 had a related patch set uploaded (by Arlolra):
T108216: Disable pre_indent_in_tags rule for now

https://gerrit.wikimedia.org/r/229857

Arlolra removed a project: Patch-For-Review.
Arlolra set Security to None.

Change 229857 merged by jenkins-bot:
T108216: Disable pre_indent_in_tags rule for now

https://gerrit.wikimedia.org/r/229857

Change 281076 had a related patch set uploaded (by Arlolra):
WIP: Treat html pre and nowiki as an extension tag

https://gerrit.wikimedia.org/r/281076

Change 281076 merged by jenkins-bot:
Treat html pre and nowiki as extension tags

https://gerrit.wikimedia.org/r/281076