-
AuthorPosts
-
January 15, 2019 at 11:53 am #1054067
In our WP-Site with enfold we have some content-boxes. If in our text is a < or a > the pagebuilder code crash and the page breaks.
Has someone the same problem and a solution for us?
You can see the problem for example here: https://www.as-computer.de/wissen/neue-html5-tags/
After “DAS SIND DIE NEUEN HTML5 TAGS” there is table. In the left coloums the text disappears.Thank you
nadja- This topic was modified 5 years, 10 months ago by nadjak77.
January 16, 2019 at 3:23 pm #1054566Has noone the same problem?
NadjaJanuary 16, 2019 at 11:20 pm #1054792Hi,
Yea, that happens because for security reason, we do not allow the tag to go through.
You can use ‘<' for the tags and will work. Best regards, BasilisJanuary 17, 2019 at 10:05 am #1054908Thank you.
NadjaJanuary 17, 2019 at 12:50 pm #1054980well Günter here from Developer Team has written a little plugin for that:
https://kriesi.at/support/topic/team-member-section-text-pasting-problem/you can see it here on my pastebin: https://pastebin.com/95mEDRYY
i edited a bit – this part is for substitution responsible:
public function __construct() { $this->translate = array( '#lt#' => '<', '#gt#' => '>', '#amp#' => '&', '#91#' => '[', '#93#' => ']', '#quot#' => '"', '#34#' => "'", '#br#' => '<br/>' );
Then you can place these special characters by using the other signs like #lt# for less then etc
This will work on tables as well as on headings input field on ALB etc pp. – All credits goes to GünterJust download : https://pastebin.com/dl/95mEDRYY the php – maybe put it in a folder like “avia-special-characters” and upload it to your plugins directory.
Activate it and use the alternative signsJanuary 17, 2019 at 1:17 pm #1054987i had only reduced the amount of # because i had no desire to always insert 3 before 3 after.
Of course you can customize this list in the plugin for your purposes.'#singlequot#' => "'", is taking place: '#34#' => "'",
but also add new ones etc.
January 17, 2019 at 3:57 pm #1055025Thank you! This sounds great.
Regards
NadjaJanuary 18, 2019 at 7:13 pm #1055613Hi Nadja,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.