What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 127 Stack Exchange communities.

I found this bug when looking at my review history. I found that the page shows the title of one of my reviews as:

How do I stretch the middle
height in a three-
layout?

In three lines, rather than the correct title of:

How do I stretch the middle <div> height in a three-<div> layout?

It seems here that the history isn't escaping the markup of the HTML tags. Can you fix this?

This is the review involved (the formatting error occurs in the review queue history page that links to that review).


As requested, here is a screenshot.

enter image description here


I'm using Firefox 17.0.1. The behavior happens even if I disable all add-ons.

share|improve this question
    
Do you have a link to the specific page where this happens? I checked the history on the queues and on your profile and couldn't reproduce, so I imagine I was looking at the wrong pages. –  Tim Stone Dec 16 '12 at 23:53
    
Added more information. This involves the review queue history. –  Peter O. Dec 16 '12 at 23:58
1  
It looks right in the 10k list (currently on page 679); possibly it only happens when you see your individual history –  Michael Mrozek Dec 17 '12 at 0:13
    
I see other titles with HTML tags in them on the queue history you linked to, including the example you gave. Do you have a screenshot of the page you were looking at, by any chance? –  Anna Lear Dec 17 '12 at 0:29
    
Yes it does, when I see my individual history. –  Peter O. Dec 17 '12 at 1:08
    
Here's the relevant page (for now at least). Looks normal to me. –  Asad Dec 17 '12 at 9:32
    
I have seen the same problem: The question at stackoverflow.com/questions/8077955/… renders the following review history (stackoverflow.com/review/first-posts/history): imgur.com/loxsx. –  Mikael Hallne Dec 21 '12 at 11:38
    
@Peter are you using a plugin/userscript to render [id:1234] after each question link? –  Emmett Dec 21 '12 at 18:50
    
I see this same behavior. Page is /review/low-quality-posts/history and the question being displayed is 12874538. The HTML (option, select) in the title is showing up as a working dropdown in FireFox 20.0.1. –  bmb Apr 22 '13 at 23:08
    
Also view source shows unencoded raw HTML of the question title. –  bmb Apr 22 '13 at 23:16
1  
I also can see this in the first page of my Low Quality Posts. 10k users may still be able to tell me the actual title of the question but whatever it actually was something then fixes the xhtml and displays the rest of the page with no tabulation at all! –  Mark Hurd Aug 2 '13 at 16:35
    
Yeah, it is fixed for me now. And FYI the actual title was HTML 2 PDF starts a new line for every </table>. –  Mark Hurd Aug 17 '13 at 7:12
add comment

2 Answers

up vote 6 down vote accepted

This was my bad - there was a bug here and it was of very limited exposure. We have tested it a few times and believe to have found a fix. As the title mentions you must have dealt with a post in review that contained tags in titles of now-deleted questions for users without the privilege to view most deleted questions.

share|improve this answer
    
Hmm, which reminds me...wonder if Opera Mobile fixed this bug... –  Tim Stone Dec 21 '12 at 19:13
    
No, it happens even if I disable all add-ons. I'm using Firefox 17.0.1, by the way. –  Peter O. Dec 21 '12 at 19:34
    
I see the same behavior as the OP. Page is /review/low-quality-posts/history and the question being displayed is 12874538. The HTML (option, select) in the title is showing up as a working dropdown in FireFox 20.0.1. View source shows unencoded raw HTML of the question title. –  bmb Apr 22 '13 at 23:17
    
@bmb Seems to be ok here i.stack.imgur.com/D4Swj.png –  Geoff Dalgas Apr 22 '13 at 23:30
1  
It is not bold on my screen. What does bold indicate vs. not bold? That the answer has been deleted and it's not clickable any longer? It may be clickable for you as a mod and the problem is only a problem when it's not surrounded by <a> tags? –  bmb Apr 23 '13 at 0:51
1  
Reproduced with this test question. Here's a screenshot, and the page source includes: <a href="/review/suggested-edits/16726">suggested edit</a> on <test question, please ignore>. –  Jeremy Banks Aug 5 '13 at 20:44
add comment

In comparing the behavior I see to the screenshots provided by the OP and by Geoff Dalgas, I suggest that the problem only occurs when the title displays on that page and is not clickable.

When the question is deleted, the title is no longer a link unless you have enough reputation or are a moderator. When the title is displayed as a link, apparently the html tags are encoded.

Since everyone who posted that it works for them has a high reputation or is a moderator, they are seeing the properly encoded text.

Those of us with with less reputation see only the text instead of a link, and I think that is where the encoding is being missed.

share|improve this answer
2  
That may explain things; I've edited the title accordingly. –  Peter O. Apr 23 '13 at 23:43
add comment

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .