Skip to content

Commit 66b38e8

Browse files
committed
Auto merge of #146992 - GuillaumeGomez:improve-highlight, r=yotamofek,lolbinarycat
Improve source code for `highlight.rs` I was very bothered by the complexity of this file, in particular the handling of `pending_elems` which was very tricky to follow. So instead, here comes a more sane approach: the content is store in a stack-like type which handles "levels" of HTML (ie, a macro expansion can contain other HTML tags which can themselves contain other, etc). Making it much simpler to keep track of what's going on. r? `@lolbinarycat`
2 parents e4b2e4d + 3c5e16e commit 66b38e8

File tree

0 file changed

+0
-0
lines changed

    0 file changed

    +0
    -0
    lines changed

    0 commit comments

    Comments
     (0)