Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'transforms/org.eclipse.jet.transforms.taglibdoc/templates/control.jet')
-rw-r--r--transforms/org.eclipse.jet.transforms.taglibdoc/templates/control.jet6
1 files changed, 3 insertions, 3 deletions
diff --git a/transforms/org.eclipse.jet.transforms.taglibdoc/templates/control.jet b/transforms/org.eclipse.jet.transforms.taglibdoc/templates/control.jet
index c6c4ef5..f070e50 100644
--- a/transforms/org.eclipse.jet.transforms.taglibdoc/templates/control.jet
+++ b/transforms/org.eclipse.jet.transforms.taglibdoc/templates/control.jet
@@ -33,7 +33,7 @@
</c:if>
<c:set select="$tagLibrary" name="description">TODO Define description of <c:get select="$tagLibrary/@name"/></c:set>
<c:if test="$tagLibrary/description">
- <c:set select="$tagLibrary" name="description"><f:replaceAll value="\r?\n" replacement="<P>" regex="true"><c:get select="$tagLibrary/description"/></f:replaceAll></c:set>
+ <c:set select="$tagLibrary" name="description"><f:replaceAll value="\\r?\\n" replacement="<P>" regex="true"><c:get select="$tagLibrary/description"/></f:replaceAll></c:set>
</c:if>
--- Iterate over each nested conditionalTag element
@@ -47,14 +47,14 @@
<c:set select="$tag" name="allTagInnards"><c:get select="$tag/@tagQName" /><c:get select="$tag/@requiredAttrs"/><c:get select="$tag/@optionalAttrs"/></c:set>
<c:set select="$tag" name="description">TODO Define description of <c:get select="$tag/@name"/></c:set>
<c:if test="$tag/description">
- <c:set select="$tag" name="description"><f:replaceAll value="\r?\n" replacement="<P>" regex="true"><c:get select="$tag/description"/></f:replaceAll></c:set>
+ <c:set select="$tag" name="description"><f:replaceAll value="\\r?\\n" replacement="<P>" regex="true"><c:get select="$tag/description"/></f:replaceAll></c:set>
</c:if>
--- Iterate over each nested attribute element
<c:iterate select="$tag/attribute" var="attribute">
--- Define additional attributes for the current attribute element
<c:set select="$attribute" name="description">TODO Define description of <c:get select="$attribute/@name"/></c:set>
<c:if test="$attribute/description">
- <c:set select="$attribute" name="description"><f:replaceAll value="\r?\n" replacement="<BR>" regex="true"><c:get select="$attribute/description"/></f:replaceAll></c:set>
+ <c:set select="$attribute" name="description"><f:replaceAll value="\\r?\\n" replacement="<BR>" regex="true"><c:get select="$attribute/description"/></f:replaceAll></c:set>
</c:if>
</c:iterate>
</c:iterate>

Back to the top