Closed (fixed)
Project:
Closed Question
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Aug 2011 at 15:01 UTC
Updated:
11 Sep 2011 at 15:41 UTC
I created a feedback for a Select & Order question with this text:
<h3>Correct!</h3>
<p>message.</p>What I got in the feedback box on the question page was this instead:
Correct!
<p>message.</p>
I double checked that the question is using the custom input format I created for closedquestions (with no input filters).
Comments
Comment #1
adamdicarlo commentedHere's the XML for the question.
Comment #2
jvdkolk commentedConfirmed this on http://wmmrc.nl/ for all text-nodes.
Feedback is currently put in HTML 'span'-tags, so it makes sense that all block-level HTML tags (like headers) are filtered out. Is it not possible to use e.g. em, b, strong, etc?
Comment #3
adamdicarlo commentedThat's pretty weird.
Yeah, it's possible to use those other tags... but it's very unintuitive (especially not being warned that this will happen).
Spans? Why not wrap feedback in divs?
Comment #4
HylkeVDS commentedI've changed the span's to dev's and added some css to show those feedback div's inline to mimic old behaviour. I've also added H1-H6 to the xml lib so they are not stripped.
So it's fixed in dev :)
Comment #5
adamdicarlo commentedExcellent! Thank you!