Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#15967 closed defect (bug) (fixed)

Broken post

Reported by: ipstenu's profile Ipstenu Owned by:
Milestone: WordPress.org Priority: normal
Severity: trivial Version:
Component: WordPress.org Site Keywords:
Focuses: Cc:

Description

So this post http://wordpress.org/support/topic/custom-post-type-parent?replies=20 looks like this on Chrome and IE 8, but is fine on FF and Safari o.O

http://twitpic.com/3ir5tb

Attachments (1)

wp-error.jpg (166.1 KB) - added by Ipstenu 15 years ago.

Download all attachments as: .zip

Change History (10)

@Ipstenu
15 years ago

#1 @SergeyBiryukov
15 years ago

It's broken by <li>.</li> tag in the first message.

#2 @Ipstenu
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

#3 @nacin
15 years ago

Per SergeyBiryukov, it was broken by the <li>.</li>.

Basically, the OP wrote <li>. to end the sentence. We then force-balanced the tags. It didn't go over to well.

I surrounded the <li> in backticks and we were good.

#4 follow-up: @Otto42
15 years ago

I've seen this on the forums a few dozen times. I'm thinking we should just remove ul/ol/li as allowed tags there.

#5 in reply to: ↑ 4 ; follow-up: @SergeyBiryukov
15 years ago

Replying to Otto42:

I've seen this on the forums a few dozen times. I'm thinking we should just remove ul/ol/li as allowed tags there.

I often use the lists myself to provide structured replies on Russian forums. Perhaps we can remove force-balancing for <li>?

#6 @Ipstenu
15 years ago

Replace li with &bull; maybe?

I did that in the comments of my site sicne people were forever being dim about closing tags. We can't all be HTML savvy ;)

#7 @SergeyBiryukov
15 years ago

It's not only the list item marker but also the proper indentation that I care about :)

#8 @ocean90
15 years ago

  • Milestone changed from Awaiting Review to WordPress.org

#9 in reply to: ↑ 5 @SergeyBiryukov
15 years ago

Replying to SergeyBiryukov:

Perhaps we can remove force-balancing for <li>?

I've rechecked and found out that the problem was not with the closing tag, it's that <li> was outside of <ul> or <ol>.

Note: See TracTickets for help on using tickets.