From f68bd94531530ba84a2f93c1e8fd46367974cc04 Mon Sep 17 00:00:00 2001 From: Sylwester Lachiewicz Date: Fri, 7 Aug 2026 12:03:13 +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/custom-resource-filters.md.vm | 2 +- src/site/markdown/examples/filter.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/markdown/examples/custom-resource-filters.md.vm b/src/site/markdown/examples/custom-resource-filters.md.vm index 50c47f0..8b399c4 100644 --- a/src/site/markdown/examples/custom-resource-filters.md.vm +++ b/src/site/markdown/examples/custom-resource-filters.md.vm @@ -109,4 +109,4 @@ You must now declare you custom filter in the plugin. mavenFilteringHint must re ``` -And that's it \! +And that's it ! diff --git a/src/site/markdown/examples/filter.md b/src/site/markdown/examples/filter.md index 6228d09..5115b48 100644 --- a/src/site/markdown/examples/filter.md +++ b/src/site/markdown/examples/filter.md @@ -147,7 +147,7 @@ and adding that to our POM ``` -**Warning:** Do not filter files with binary content like images\! This will most likely result in corrupt output. +**Warning:** Do not filter files with binary content like images! This will most likely result in corrupt output. If you have both text files and binary files as resources it is recommended to have two separated folders. One folder `src/main/resources` (default) for the resources which are not filtered and another folder `src/main/resources-filtered` for the resources which are filtered.