• Hi,

    I wanted to include a Font Awesome download icon before my download link text, so I inserted <i class="fa fa-download"> </i>&nbsp; into the “HTML Before Inline Link”.
    On initial save all is fine even though it only displays <i class= in the “HTML Before Inline Link” text field with the end bit of the HTML " /> on the grey background to the right of the field.

    The problem is that when you save again, whether any field has been updated or not, the “HTML Before Inline Link” field content remains the same, but the part on the grey background disappears. I assume what has happened now is only the part in the text field (<i class=) has been committed to the database instead of the whole <i class="fa fa-download"> </i>&nbsp;. This can be rather frustrating to remember to keep pasting the HTML back into the field for any setting change.

    The end result when this occurs is that the HTML for the download link looks like <i class="<a class="icon-button download-icon" .... </a>.

    Is there anyway to avoid this?

    Thanks,
    Tristan

    • This topic was modified 7 years, 10 months ago by tmargot.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Yeah that looks like a bug. Switch your double quotes to single quotes in the HTML that you are putting into the EBD setting and that will fix the main issue. I think you might lose the non-breaking space though once you save twice (probably). Rather than using that nbsp maybe you can use some right-side padding on the i element or something like that in order to make the space you want.

    Thread Starter tmargot

    (@tmargot)

    Thanks for the reply. Single quotes are not working, for does not submit after switching. I will have to live with this until a fix is released. I have added margin instead of $nbsp;

    Cheers,
    Tris

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘HTML Before Inline Link Problems’ is closed to new replies.