Menu

HTML block does not handle hyperlinks

Help
Gert Blij
2005-04-03
2013-05-30
  • Gert Blij

    Gert Blij - 2005-04-03

    While I have seen it work properly at other sites, whenever I save an HTML block (in 3.3), PGV generates a \ (back slash) before every " (double quote) in the html.

    This causes the links not to work.

    Any suggestions?
    TIA
    Gert

     
    • John Finlay

      John Finlay - 2005-04-04

      Hi Gert,

      The slashes are probably being added by the magic_quotes setting in the php.ini.

      Can you edit the index_edit.php file and change line 127 to:
      $config[$config_name] = stripslashes($_POST[$config_name]);

      This should get rid of the problem.  Let me know so that I can post a fix.

      --John

       
    • Gert Blij

      Gert Blij - 2005-04-05

      Hi John,

      That indeed solved the problem. Works like a dream.

      Thanks
      Gert

       
  • Chris

    Chris - 2009-09-19

    Hi

    I have started getting this problem now. Using ver4.2.2

     
  • Chris

    Chris - 2009-09-19

    Just as extra info - I have just upgraded to ver 4.2.2. On my front page in the text blocks any " gets a \ in front of it regardless if it is in a url or just quotes in a text sentence.

    If I use the HTML &quot then it saves as a " - if I save again then I get \" and if I save again \\" etc

     

Log in to post a comment.