From 731abf284c15624cedbea379720cca93c4ba1e60 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Fri, 7 Aug 2026 11:57:21 +0200 Subject: [PATCH] Drop backslash escapes that Markdown does not need Pages converted from APT with an older doxia-converter carry an escape in front of punctuation that is not markup where it stands: a hyphen or underscore inside a word, a parenthesis, a full stop after a letter. The backslash renders as nothing and only makes the source harder to read and to edit. Only positions where the bare character can never be markup are touched. A full stop after a digit keeps its escape, so an ordered list marker cannot appear by accident, and angle brackets keep theirs, since would otherwise be read as a tag. Code spans, fenced blocks and link destinations are left alone. --- src/site/markdown/examples/usingRuleSets.md.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/site/markdown/examples/usingRuleSets.md.vm b/src/site/markdown/examples/usingRuleSets.md.vm index ac95cbc5..b3e8354e 100644 --- a/src/site/markdown/examples/usingRuleSets.md.vm +++ b/src/site/markdown/examples/usingRuleSets.md.vm @@ -65,7 +65,7 @@ See [Making Rulesets](https://pmd.github.io/pmd-${pmdVersion}/pmd_userdocs_makin This is an excerpt of the ruleset `/rulesets/java/maven-pmd-plugin-default.xml`. It contains only rules for Java. If you use a different language, you'll need to specify your own custom ruleset. -The current version of the ruleset can be found in version control: [https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob\_plain;f=src/main/resources/rulesets/java/maven-pmd-plugin-default.xml;hb=HEAD](https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/main/resources/rulesets/java/maven-pmd-plugin-default.xml;hb=HEAD) +The current version of the ruleset can be found in version control: [https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/main/resources/rulesets/java/maven-pmd-plugin-default.xml;hb=HEAD](https://gitbox.apache.org/repos/asf?p=maven-pmd-plugin.git;a=blob_plain;f=src/main/resources/rulesets/java/maven-pmd-plugin-default.xml;hb=HEAD) ```xml