garfield58 / ganon

Automatically exported from code.google.com/p/ganon
0 stars 0 forks source link

When input name attribute equals "name" the value is removed #38

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What will reproduce the problem?

    $result = str_get_dom('<input name="name"/>');
    echo $result->toString(true, true, 1);

What is the expected output? What do you see instead?

    Expected output is:
        <input name="name"/>
    Actual output is:
        <input name />

Which version are you using?

    not sure but it says at the top of file:
    * Ganon single file version - PHP5+ version
    * Generated on 20 Oct 2012

Original issue reported on code.google.com by cog...@gmail.com on 17 Apr 2013 at 9:43