• For a post having the title:

    Test <img src="demo.png" class="testclass">

    And content:

    <a href="http://www.example.com/wp-content/uploads/picture.jpg"><img src="http://www.example.com/wp-content/uploads/picture-150x150.jpg" alt="" width="150" height="150" class="alignnone size-thumbnail wp-image-123456" /></a>

    The html generaded code as seen by firebug is:

    <a class="testclass cboxElement" demo.png"="" title="Test <img src=" rel="lightbox[16564]" href="http://www.example.com/wp-content/uploads/picture.jpg">"><img width="150" height="150" class="alignnone size-thumbnail wp-image-123456" alt="" src="http://www.example.com/wp-content/uploads/picture-150x150.jpg"></a>

    which is nonsense and it looks strange as seen in browser too.

    https://wordpress.org/plugins/lightbox-plus/

Viewing 1 replies (of 1 total)
  • Thread Starter bufny

    (@bufny)

    Much easier repo:

    For a post having ” in title, lets say the title is:

    Test "demo"

    The generated code starts with:

    <a demo""=""

Viewing 1 replies (of 1 total)

The topic ‘It breaks if the post title contains " characters’ is closed to new replies.