Wrap inline code blocks (`...`) in <code> tags
ClosedPublic

Authored by mwolff on Mar 6 2020, 11:21 AM.

Details

Summary

This gives the contents of such blocks the monospace font as
expected.

Diff Detail

Repository
R865 Ruqola
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mwolff requested review of this revision.Mar 6 2020, 11:21 AM
mwolff created this revision.
dfaure added inline comments.Mar 6 2020, 12:15 PM
src/core/utils.cpp
105

What's ?<
Can you document the regexp?

mwolff added inline comments.Mar 6 2020, 3:11 PM
src/core/utils.cpp
105

it's a lookbehind, a negative in this case with the following !

dfaure added inline comments.Mar 6 2020, 6:12 PM
src/core/utils.cpp
105

ah so "back-quote, not preceded by a backslash" (then anything, then the same again)
I see.
Definitely worth a comment in the code, above the regexp :)

This revision was not accepted when it landed; it landed in state Needs Review.Mar 7 2020, 12:29 PM
This revision was automatically updated to reflect the committed changes.