WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Shortcodes Pro] Tags in the content between shortcode being rendered as

[Resolved] [Plugin: Shortcodes Pro] Tags in the content between shortcode being rendered as

  • surfing47
    Member

    @surfing47

    Love this plugin…just found it. However, html tags within the shortcode tags are being encoded/not encoded properly. For example: my <h1> tag is showing like an encoded h1 tag and therefore rendering in the browser as text like
    <h1 class=”pageHeading”>Test</h1> . Any ideas?

    Here is the gist of the shortcode I created

    <div style="background:url(%%backgroundurl%%) %%horizontalbackground%% %%verticlebackground%% #f8f8f8;width:%%boxwidth%%;height:%%boxheight%%;padding:%%paddingtop%% %%paddingright%% %%paddingbottom%% %%paddingbottom%%; -webkit-border-radius: 25px;-moz-border-radius: 25px;border-radius: 25px;border:1px solid #ede9e9;-webkit-box-shadow: #B3B3B3 2px 2px 2px,0px 0px 16px 16px rgba(241,241,241,0.4) inset;-moz-box-shadow: #B3B3B3 2px 2px 2px,0px 0px 16px 16px rgba(241,241,241,0.4) inset; box-shadow: #B3B3B3 2px 2px 2px,0px 0px 16px 16px rgba(241,241,241,0.4) inset;text-align:%%textalign%%;float:%%float%%;">%%content%%</div>

    The content has a simple <h1> Title </h1>

    Thanks!

    http://wordpress.org/extend/plugins/shortcodes-pro/

Viewing 6 replies - 1 through 6 (of 6 total)
  • surfing47
    Member

    @surfing47

    In response to my post above – as a band-aid I put

    $content=html_entity_decode( $content );

    on line 380 of class-shortcodespro-base.php to use as a quick fix which seemed to solve the problem. However, a more permanent solution would probably be best with plugin updates.

    surfing47
    Member

    @surfing47

    nevermind.. I am an idiot. I was in visual mode when editing. Awesome plugin!

    surfing47
    Member

    @surfing47

    resolved.

    Plugin Author Matt
    Member

    @sksmatt

    Hi surfing47!,

    Thanks for coming back to post the answer,

    Kind Regards!

    thanks, It was interesting, can i using plugin in Farsi (persian) language?

    our site is [link moderated] decodat decoration company
    i hope hear from u soon.

    Michael
    Forum Moderator

    @alchymyth

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Shortcodes Pro] Tags in the content between shortcode being rendered as’ is closed to new replies.