I am facing issue: On home page double quote not showing in Image alt and title on view source, But on inspect element it is showing. Anyone have suggestion so please share.
-
Please add your code– PiyushJan 2, 2017 at 10:24
-
can you please share your code in qus.?– AbdulJan 2, 2017 at 10:27
-
For example: Image coming from static block :– Ram Pratap Singh GourJan 2, 2017 at 10:33
-
<div class="block-title"><span style="color: #ffffff;">xxxx</span></div> <img title="services" src="{{media url="wysiwyg/images/block/services.png"}}" alt="services" /></li>– Ram Pratap Singh GourJan 2, 2017 at 10:33
-
@Ramsipl it is better to update the question instead of adding code in comment– PiyushJan 2, 2017 at 10:35
2 Answers
Try this
src="{{media url='wysiwyg/images/block/services.png'}}"
in your img
tag instead of
src="{{media url="wysiwyg/images/block/services.png"}}"
Inside double quote you cannot use double directly. You have to use like
<img title="services" src="{{media url='wysiwyg/images/block/services.png'}}" alt="services" />
OR
<img title="services" src='{{media url="wysiwyg/images/block/services.png"}}' alt="services" />
-
But Quote is coming in src attribute, Not in all alt and title(non blank) Jan 2, 2017 at 12:53
-
@Ramsipl, Can you put all your code in question so we can get proper idea about your issue. Jan 2, 2017 at 13:02