~knixeur

Recent activity

[PATCH] fix using advanced line types inside preformatted ones 4 years ago

From Guillermo BonvehĂ­ to ~julienxx/castor

Instead of keeping a state in parser, we replicate those control
characters that trigger element control.
There are several ways to solve this, you may want to drop the patch and
use a better/different approach like not removing the start of the line
at the parser and doing it when drawing.
Less intrusive would be to move these markers to constants and refer to
them from both draw.rs and parser.rs to avoid repeating them.

---
 src/draw.rs | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/draw.rs b/src/draw.rs
index d76ded9..dc36ea5 100644
[message trimmed]