consistent converting and escaping of label values (following AbstractMultiCheckedElementTag's SPR-7174)
This commit is contained in:
parent
a032ce12cb
commit
48869a86cc
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2002-2008 the original author or authors.
|
* Copyright 2002-2010 the original author or authors.
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
|
@ -90,7 +90,7 @@ public abstract class AbstractSingleCheckedElementTag extends AbstractCheckedEle
|
||||||
if (resolvedLabel != null) {
|
if (resolvedLabel != null) {
|
||||||
tagWriter.startTag("label");
|
tagWriter.startTag("label");
|
||||||
tagWriter.writeAttribute("for", id);
|
tagWriter.writeAttribute("for", id);
|
||||||
tagWriter.appendValue(resolvedLabel.toString());
|
tagWriter.appendValue(convertToDisplayString(resolvedLabel));
|
||||||
tagWriter.endTag();
|
tagWriter.endTag();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue