Make WordPress Core

Opened 11 years ago

Closed 10 years ago

#15398 closed enhancement (worksforme)

title doesn't show up correctly if there are two '<' next to each other

Reported by: vista200 Owned by:
Milestone: Priority: normal
Severity: trivial Version: 3.0.1
Component: Formatting Keywords: reporter-feedback
Focuses: Cc:


While I was writing one of my Blog posts, I wanted to highlight a word by putting it between '>>' and '<<'.

After I published the post, the title was cut after the first '<'.

I tried to republish the post, but nothing changed. I then chose to type '&lt;' for the second '<' and it worked flawlessly.

Change History (2)

#1 @Utkarsh
11 years ago

  • Cc admin@… added
  • Keywords reporter-feedback added; lower than title removed

By title you mean the <title> in <head> or h1/h2?

#2 @dd32
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Titles can support HTML in them, this is why you need to use &lt;. If you were running as a lower-level user, without unfiltered HTML, the post title would convert it automatically.

Note: See TracTickets for help on using tickets.