Skip to content

Commit e274c74

Browse files
committed
Fix rendering
Newly introduced math support for rendering markdown in github breaks the rendering for things like '{}'. Escaping fixes this. Fixes metafacture/metafacture-documentation#17.
1 parent 61efabc commit e274c74

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

metafacture-formatting/src/main/java/org/metafacture/formatting/ObjectTemplate.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
import java.util.regex.Pattern;
3232

3333
/**
34-
* Builds a {@link String} from a template and an {@link Object}. ${o} marks
35-
* the place where the object is to be inserted. If the received object in an
36-
* instance of Triple ${s}, ${p} and ${o} are used instead.
34+
* Builds a {@link String} from a template and an {@link Object}. `${o}` marks
35+
* the place where the object is to be inserted. If the received object is an
36+
* instance of Triple`${s}`, `${p}` and `${o}` are used instead.
3737
*
3838
* @param <T>
3939
* object type
4040
*
4141
* @author Markus Geipel
4242
*
4343
*/
44-
@Description("Builds a String from a template and an Object. Provide template in brackets. ${o} marks the place where the object is to be inserted. " +
45-
"If the object is an instance of Triple ${s}, ${p} and ${o} are used instead.")
44+
@Description("Builds a String from a template and an Object. Provide template in brackets. `${o}` marks the place where the object is to be inserted. " +
45+
"If the object is an instance of Triple `${s}`, `${p}` and `${o}` are used instead.")
4646
@In(Object.class)
4747
@Out(String.class)
4848
@FluxCommand("template")

0 commit comments

Comments
 (0)