7.1.5200 image spits out invalid xhtml
I don't know how I did this or if this is a bug. If I add images I get invalid XHTML spit out.
Attribute displaymode not allowed on element img at this point.
If I set the image to be custom it gets even worse.
Me or SF?
Markus
<
img
src
=
"/images/default-source/designelemente/icon-print.png?sfvrsn=6"
displaymode
=
"Original"
alt
=
"Print and advertisement"
title
=
"Print and advertisement"
style
=
"float: left; margin-bottom: 20px; margin-right: 20px;"
>
<
img
src
=
"/images/default-source/designelemente/icon-print.png?sfvrsn=6&MaxWidth=120&MaxHeight=90&ScaleUp=false&Quality=High&Method=ResizeFitToAreaArguments&Signature=2434653DF7ABB6551B9B966F5BFFCAE6"
displaymode
=
"Custom"
alt
=
"Print and advertisement"
title
=
"Print and advertisement"
style
=
"float: left; margin-bottom: 20px; margin-right: 20px;"
method
=
"ResizeFitToAreaArguments"
customsizemethodproperties
=
"'MaxWidth':'120','MaxHeight':'90','ScaleUp':false,'Quality':'High'"
>
Anyone having the same problem or is it me again :-)
Markus
Hello Markus,
I am trying to replicate the issue on my side but without any success. Can you please give us more details on how exactly you reproduce the problem in order to be able to follow the same steps and check if the issue is caused by Sitefinity? Does the issue occurs when you change the displaymode attribute of the image to custom?
Regards,
Sabrie Nedzhip
Telerik
Well here is a screencast
I took an default template to get as little mix up with my stuff. See the screencast here:Sitefinity CMS image trouble
Markus
Hello Markus,
The attributes in the image tag of Content block are necessary for correct functioning of that option.
There is a logged issue in our Feedback portal logged as feature request for hiding/removing that attributes on the frontend where you could vote for it and subscribe for receiving notifications on status change.
Regards,
Svetoslav Manchev
Telerik
Dear Svetoslav
Am I understanding correct?
Sitefinity is spitting out invalid XHTML code and you tell me in order to get it "fixed" we have to vote for it - and its a feature request and nota bug?
QUOTE
RadEditor offers out-of-the-box fully compliant XHTML output,
UNQUOTE
www.sitefinity.com/.../content-creation-and-editing Editor
Markus
Pretty ridiculous that it can't output valid html.
Hello Brian,
Please excuse us for the inconvenience. We will do our best to fix the issue as soon as possible in the next releases.
Regards,
Svetoslav Manchev
Telerik