Forums

WP-Syntax
backtick problem with wp-syntax (4 posts)

  1. BertrandB21
    Member
    Posted 1 year ago #

    i got problem to post bash script with backtick
    to solve the difficulty i used the escaped="true" but to work i changed the htmlspecialchars_decode by html_entity_decode to have a good traduction of `
    may this modification be in next version ?

    http://wordpress.org/extend/plugins/wp-syntax/

  2. BertrandB21
    Member
    Posted 11 months ago #

    Stiil problem with wp-syntax
    Now with a php snippet with backtick and "" string

    I think it would be fine to have shortcode syntax to call wp-syntax
    with two ways of call inline and infile

    1) Inline syntax
    [source lang="php" line="1" escaped="full"]
    inline code here
    [/source]
    2) Infile syntax
    [source lang="php" line="1" file="path_to_myfile.php /]

  3. BertrandB21
    Member
    Posted 11 months ago #

    Oh i find the trick for the back tick
    just use the code tag before the pre tag

  4. BertrandB21
    Member
    Posted 11 months ago #

    ok the backtick problem is not a wp-syntax problem

    my problem come from pdo for wordpress

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic