Title: HTML Before Inline Link Problems
Last modified: May 5, 2017

---

# HTML Before Inline Link Problems

 *  [tmargot](https://wordpress.org/support/users/tmargot/)
 * (@tmargot)
 * [9 years ago](https://wordpress.org/support/topic/html-before-inline-link-problems/)
 * 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 9 years ago by [tmargot](https://wordpress.org/support/users/tmargot/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [dtynan](https://wordpress.org/support/users/dtynan/)
 * (@dtynan)
 * [9 years ago](https://wordpress.org/support/topic/html-before-inline-link-problems/#post-9111369)
 * 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](https://wordpress.org/support/users/tmargot/)
 * (@tmargot)
 * [9 years ago](https://wordpress.org/support/topic/html-before-inline-link-problems/#post-9120728)
 * 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.

 * ![](https://ps.w.org/email-before-download/assets/icon-256x256.jpg?rev=1813522)
 * [Email Before Download](https://wordpress.org/plugins/email-before-download/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-before-download/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-before-download/)
 * [Active Topics](https://wordpress.org/support/plugin/email-before-download/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-before-download/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-before-download/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tmargot](https://wordpress.org/support/users/tmargot/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/html-before-inline-link-problems/#post-9120728)
 * Status: not resolved