1

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.

enter image description here

5
  • Please add your code
    – Piyush
    Jan 2, 2017 at 10:24
  • can you please share your code in qus.?
    – Abdul
    Jan 2, 2017 at 10:27
  • For example: Image coming from static block : Jan 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> Jan 2, 2017 at 10:33
  • @Ramsipl it is better to update the question instead of adding code in comment
    – Piyush
    Jan 2, 2017 at 10:35

2 Answers 2

1

Try this

src="{{media url='wysiwyg/images/block/services.png'}}"

in your img tag instead of

src="{{media url="wysiwyg/images/block/services.png"}}"
1
1

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" />
2
  • 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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.