consistent converting and escaping of label values (following AbstractMultiCheckedElementTag's SPR-7174)

This commit is contained in:
Juergen Hoeller 2010-08-16 20:39:14 +00:00
parent a032ce12cb
commit 48869a86cc
1 changed files with 2 additions and 2 deletions

View File

@ -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");
* 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) {
tagWriter.startTag("label");
tagWriter.writeAttribute("for", id);
tagWriter.appendValue(resolvedLabel.toString());
tagWriter.appendValue(convertToDisplayString(resolvedLabel));
tagWriter.endTag();
}