Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Steven Vachon

    (@prometh)

    <input type="text" name="test"/>

    …is the same as:

    <input type="text" name="test" value=""/>

    …with regards to GET/POST.

    And, which Facebook plugin?

    <input type="text" value="<a href='<?php echo get_permalink(); ?>'><?php echo get_the_title();?></a>" onclick="javascript:this.select()" readonly style="width: 100%;" />

    In this way I’ve got a broken output:
    <input type="text" value="<a href=" .="" "="">

    Thank you for help!

    Plugin Author Steven Vachon

    (@prometh)

    Please supply the output HTML without WP-HTML-Compression for comparison.

    <input type="text" value="<a href='https://delo-vcusa.ru/recepti/desertyi/shokoladny-e-bliny-s-tvorogom-sladkie-rolly-iz-blinchikov-s-persikami/'>Шоколадные блины с творогом. Сладкие роллы из блинчиков с персиками</a>" onclick="javascript:this.select()" readonly="" style="width: 100%;">

    Hmm, probably issue in & g t; and & l t; but I don’t know why < and > have been interpreted such way.

    Plugin Author Steven Vachon

    (@prometh)

    A browser will not render that correctly. You should consider using a <textarea>.

    This is the output I get:

    <input type="text" value="<a href="//delo-vcusa.ru/recepti/desertyi/shokoladny-e-bliny-s-tvorogom-sladkie-rolly-iz-blinchikov-s-persikami/">Шоколадные блины с творогом. Сладкие роллы из блинчиков с персиками</a>" onclick="javascript:this.select()" style="width: 100%;">

    Looks fine, however the URL shortener has shortened the href attribute value, which is probably not ideal from a data perspective. I’ll look into this when I have some free time.

    Thank you for your time. I’ll try to use textarea

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP-HTML-Compression] value=”” in the forms & facebook comments’ is closed to new replies.