Defect #10193

Unappropriate icons in highlighted code block

Added by Aleksej Lebedev almost 3 years ago. Updated over 2 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:Text formatting
Target version:1.3.2
Resolution:Fixed Affected version:1.3.1

Description

A few weeks ago I upgraded to 1.3.0 and all code blocks now displayed incorrectly :(

Example code:

<pre><code class="html">
        <if test="authorcfields:|:$author['custom_fields'] != """>
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                        <li>
                            {$field}
                        </li>
                    </if>
                </foreach>
            </foreach>
        </if>
</code>

Invalid result:

        <if test="authorcfields:|:$author['custom_fields'] != """>
            <foreach loop="customFieldsOuter:$author['custom_fields'] as $group => $data">
                <foreach loop="customFields:$author['custom_fields'][ $group ] as $field">
                    <if test="$field != ''">
                        <li>
                            {$field}
                        </li>
                    </if>
                </foreach>
            </foreach>
        </if>

How I can remove these unnecessary icons without editing wiki pages? Thanks!

Associated revisions

Revision 8835
Added by Jean-Philippe Lang almost 3 years ago

Makes error class more specific to prevent clashes with syntax highlight (#10193).

History

#1 Updated by Etienne Massip almost 3 years ago

  • Status changed from New to Confirmed
  • Target version set to Candidate for next minor release
  • Affected version (unused) changed from 1.3.0 to 1.3.1
  • Affected version changed from 1.3.0 to 1.3.1

#2 Updated by Jean-Philippe Lang almost 3 years ago

  • Status changed from Confirmed to Resolved
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

Fixed in r8835.

#3 Updated by Jean-Philippe Lang almost 3 years ago

  • Target version changed from Candidate for next minor release to 1.3.2

#4 Updated by Jean-Philippe Lang almost 3 years ago

  • Subject changed from The unnecessary icons in the code block to Unappropriate icons in highlighted code block

#5 Updated by Jean-Philippe Lang over 2 years ago

  • Status changed from Resolved to Closed

Merged.

Also available in: Atom PDF