Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #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.
    #1054566

    Has noone the same problem?
    Nadja

    #1054792

    Hi,

    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, Basilis

    #1054908

    Thank you.
    Nadja

    #1054980

    well 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ünter

    Just 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 signs

    #1054987

    i 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.

    #1055025

    Thank you! This sounds great.
    Regards
    Nadja

    #1055613

    Hi Nadja,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.