WordPress.org

Ready to get started?Download WordPress

Forums

Query Wrangler
[resolved] "Rewrite output of this field" escape bug (3 posts)

  1. Rubix
    Member
    Posted 2 years ago #

    Good day!

    First and foremost, I'd like to say that this is a truly wonderful plugin (coming from a Drupal/Views user for more than 7 years).

    Now, I encountered a bug when using the "Rewrite output of this field" feature. Quotes are being escaped when it shouldn't be (HTML or plain text) and causes subsequent errors in the output in case of HTML. Examples below.

    HTML
    Input:
    <div style="float: right;">{{post_title}}</div>

    Output:
    <div style="\"float:" right;\"="">Post Title</div>

    Plain Text
    Input:
    "{{post_title}}"

    Output:
    \"Post Title\"

  2. Jonathan Daggerhart
    Member
    Plugin Author

    Posted 2 years ago #

    Thanks for the report. Sorry for the slow reply, but I'll take care of this soon.

  3. Jonathan Daggerhart
    Member
    Plugin Author

    Posted 1 year ago #

    I put a lot of slash stripping into place a while back. Are you still experiencing this problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.