Alban Auzeill 2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00

28 lines
275 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
----
try {
doSomething();
} catch (ex) { // Noncompliant
throw ex;
}
----
== Compliant Solution
----
try {
doSomething();
} catch (ex) {
console.err(ex);
throw ex;
}
----
or
----
doSomething();
----