incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeanne Waldman (JIRA)" <adffaces-iss...@incubator.apache.org>
Subject [jira] Updated: (ADFFACES-489) DEBUG-OUTPUT HTML Pretty Printer inserts unwanted whitespace after input element
Date Thu, 10 May 2007 22:50:15 GMT

     [ https://issues.apache.org/jira/browse/ADFFACES-489?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeanne Waldman updated ADFFACES-489:
------------------------------------

    Attachment: ADFFaces-489-IndentingRW.diff

adding a patch with the one-line fix.
Added "input" to this:
    return ("img".equals(name)    ||
            "a".equals(name)      ||
            "br".equals(name)     ||
            "span".equals(name)   ||
            "div".equals(name)    ||
            "area".equals(name)   ||
            "u".equals(name)      ||
            "i".equals(name)      ||
            "input".equals(name)  ||
            "b".equals(name)      ||
            "em".equals(name)     ||
            "strong".equals(name) ||
            "map".equals(name)    ||
            "label".equals(name)  ||
            "font".equals(name)   ||
            "table".equals(name)  ||
            "tbody".equals(name)  ||
            "tr".equals(name)     ||
            "nobr".equals(name)   ||
            "wbr".equals(name)   ||
            "script".equals(name));

> DEBUG-OUTPUT HTML Pretty Printer inserts unwanted whitespace after input element
> --------------------------------------------------------------------------------
>
>                 Key: ADFFACES-489
>                 URL: https://issues.apache.org/jira/browse/ADFFACES-489
>             Project: MyFaces ADF-Faces
>          Issue Type: Bug
>    Affects Versions: 1.0.1-incubating-plugins-SNAPSHOT
>         Environment: Must have DEBUG-OUTPUT set to true.
>            Reporter: Mark Yvanovich
>             Fix For: 1.0.1-incubating-plugins-SNAPSHOT
>
>         Attachments: ADFFaces-489-IndentingRW.diff
>
>
> I have a component, selectOneRadio, that renders the following HTML for each radio button:
> <span><input type='radio'/></span><label>My Label</label>
> The HTML pretty printer is inserting space after the input element, causing extra space
to be rendered between the input and the label.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message