Skip to content

Commit d1070d5

Browse files
committed
Updating XSL
1 parent 0411463 commit d1070d5

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

spml/src/main/resources/cursor-rule-generator-1.1.xsl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,13 @@ alwaysApply: </xsl:text><xsl:value-of select="normalize-space(metadata/cursor-ai
2828

2929
</xsl:text><xsl:value-of select="role"/>
3030
<xsl:text>
31-
3231
</xsl:text>
3332
<!-- Apply restrictions template if present -->
3433
<xsl:apply-templates select="restrictions"/>
3534

3635
<!-- Examples section with auto-generated table of contents -->
3736
<xsl:if test="examples/toc[@auto-generate='true']">
3837
<xsl:text>
39-
4038
## Examples
4139

4240
### Table of contents
@@ -162,7 +160,8 @@ Description: </xsl:text> <xsl:value-of select="normalize-space(example-de
162160

163161
<!-- Restrictions template -->
164162
<xsl:template match="restrictions">
165-
<xsl:text>## Restrictions
163+
<xsl:text>
164+
## Restrictions
166165

167166
</xsl:text>
168167
<xsl:if test="restrictions-description">

spml/src/test/resources/110-java-maven-best-practices.mdc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ Update the pom.xml based on the following rules about Maven best practices.
1313

1414
You are a Senior software engineer with extensive experience in Java software development
1515

16-
17-
1816
## Examples
1917

2018
### Table of contents
@@ -590,4 +588,4 @@ Description: Define all dependency and plugin versions in the `<properties>` sec
590588
## Output Requirements
591589

592590
- Update the file pom.xml if something is not correct
593-
- verify changes with the command: `mvn validate`
591+
- verify changes with the command: `mvn validate`

0 commit comments

Comments
 (0)