Mingle altering img src attribute and breaking URI

Follow

Comments

3 comments

  • Avatar
    David Rice

    Hi Mark -


    You can embed images in Mingle using the following syntax:


    !http://some-server.co.uk/!

  • Avatar
    Mark Crossfield

    Hi David


    Thanks for the reply. I'm aware I can include images using that format, but unfortunately I have the same problem. It does appear to cope with the contrived example I included, but not with what I'm actually trying to do. The following Mingle code reproduces the error I'm seeing, which now seems to be related to the bracket:


    !http://some-server.co.uk/(!


    comes out as:


    <p>!http://some-server.co.uk/(!</p>


    rather than


    <img src="http://some-server.co.uk/(" />


    I appreciate that this is an unlikely URI - you'll have to trust me that the URI I want to use includes brackets :)


    Cheers, Mark


     

  • Avatar
    David Rice

    Hi Mark -


    Parens are indeed legal in a URL. There must be a parsing bug in Mingle.


    As a work around, can you try using the URL-encoded forms -- %28 for left paren, %29 for right ?


    My quick test shows that Mingle renders this correctly.

Please sign in to leave a comment.