[Lldb-commits] [lldb] [lldb][Docs] Fix presentation of some default values (PR #192239)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 15 06:38:14 PDT 2026
Nerixyz wrote:
> If I understand correctly, before we were using this `nodes.literal` which is (or is equivalent to) one backtick.
Yes, but more crucially, we'd get the already parsed output from MyST. So an input like ``:default: foo`bar`baz`` would yield `content` as a list of `text(foo), literal(bar), text(baz)`, so we'd lose the backtick.
> So if we had 2 backticks in the value, we would still have the problem, right?
Correct.
> I know it's very unlikely to be a problem, but could you replace the simple check for backtick with a check for a run of backticks and then set the fence to be one greater than that?
>
> Easy to do, and makes the code a bit less suspicious if we have different problems in future.
Added that and also a fix for backticks at the start/end. There we need to insert a space on both sides. For example `` `foo` `` would need to be escaped as ``` `` `foo` `` ```.
https://github.com/llvm/llvm-project/pull/192239
More information about the lldb-commits
mailing list