Title: Editing trigger distorts code
Last modified: November 22, 2019

---

# Editing trigger distorts code

 *  Resolved [jziegler](https://wordpress.org/support/users/jziegler/)
 * (@jziegler)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/)
 * hi, i’m trying to add a trigger but the ui keeps distorting the code after hitting“
   edit trigger”, both in visual and text mode. for example, if i add the code:
 * [THIS IS THE LINK](http://www.google.com)
 * in text mode and then hit edit trigger, it changes the code to:
 * 
 * is there any way around this? or are links just not usable with triggers?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fediting-trigger-distorts-code%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [jziegler](https://wordpress.org/support/users/jziegler/)
 * (@jziegler)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12165258)
 * sorry, not sure how to display the code itself…
 *     ```
       <a href="http://www.google.com">THIS IS THE LINK</a>
   
       <a href="//www.google.com"">THIS IS THE LINK</a>
       ```
   
 *  Thread Starter [jziegler](https://wordpress.org/support/users/jziegler/)
 * (@jziegler)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12165261)
 * ok so before hitting “edit trigger”:
 * `<a href="http://www.google.com">THIS IS THE LINK</a>`
 * after:
 * `<a href="//www.google.com"">THIS IS THE LINK</a>`
 *  [SGURYGF](https://wordpress.org/support/users/sgurygf/)
 * (@sgurygf)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12165265)
 * But what is the problem? As far as HTML validity, they are both correct. “http”
   is not needed anyway in a link. “//” represents the current scheme of your website
   be that http or https.
 *  Thread Starter [jziegler](https://wordpress.org/support/users/jziegler/)
 * (@jziegler)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12165395)
 * i actually didn’t know that, thanks. but the link is not working. perhaps the
   extra quote at the end? and each time i hit “edit trigger” it adds more quotes
   to the end…
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12171375)
 * Hello [@jziegler](https://wordpress.org/support/users/jziegler/), looks like 
   there’s a bug in field validation for this feature. It will be fixed in next 
   release. Thanks for your feedback.
 *  Thread Starter [jziegler](https://wordpress.org/support/users/jziegler/)
 * (@jziegler)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12173027)
 * thank you! don’t imagine you would know when that would be?
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12181828)
 * Hello [@jziegler](https://wordpress.org/support/users/jziegler/), this bug has
   been fixed and it’s under testing. We’ll release new version in a few days.
 *  Thread Starter [jziegler](https://wordpress.org/support/users/jziegler/)
 * (@jziegler)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12183184)
 * thx!
 *  Plugin Author [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * (@wordpress3cx)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12247044)
 * Hello [@jziegler](https://wordpress.org/support/users/jziegler/), we just released
   version 8.1.5 with a fix for this issue. Now trigger URLs are parsed properly.
   
   Let us know!

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

The topic ‘Editing trigger distorts code’ is closed to new replies.

 * ![](https://ps.w.org/wp-live-chat-support/assets/icon-256x256.png?rev=2405258)
 * [3CX Free Live Chat, Calls & Messaging](https://wordpress.org/plugins/wp-live-chat-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-live-chat-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-live-chat-support/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-live-chat-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-live-chat-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-live-chat-support/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [wordpress3cx](https://wordpress.org/support/users/wordpress3cx/)
 * Last activity: [6 years, 5 months ago](https://wordpress.org/support/topic/editing-trigger-distorts-code/#post-12247044)
 * Status: resolved