You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2013/01/14 02:54:12 UTC
[jira] [Updated] (ANY23-132) Handle value-title class in
microformat
[ https://issues.apache.org/jira/browse/ANY23-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated ANY23-132:
---------------------------------------
Fix Version/s: 0.7.1
> Handle value-title class in microformat
> ---------------------------------------
>
> Key: ANY23-132
> URL: https://issues.apache.org/jira/browse/ANY23-132
> Project: Apache Any23
> Issue Type: Bug
> Components: core
> Reporter: Sebastien Richard
> Fix For: 0.7.1
>
>
> http://microformats.org/wiki/value-class-pattern
> Proposed patch:
> 72,78c72,73
> < // first check if there are value-title inside
> < List<Node> values = DomUtils.findAllByClassName(node, "value-title");
> < if (!values.isEmpty()) {
> < return new TextField(values.get(0).getAttributes().getNamedItem("title").getNodeValue(), node);
> < }
> < // next value
> < values = DomUtils.findAllByClassName(node, "value");
> ---
> > // first check if there are values inside
> > List<Node> values = DomUtils.findAllByClassName(node, "value");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira