[Lldb-commits] [lldb] [lldb][Docs] Fix presentation of some default values (PR #192239)
David Spickett via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 15 05:01:03 PDT 2026
https://github.com/DavidSpickett commented:
If I understand correctly, before we were using this `nodes.literal` which is (or is equivalent to) one backtick.
Now we use some default field type and we manually put one or more backticks around it.
> We can escape backticks inside the string by changing the fence. Markdown can take any number of backticks at the start as long as they match the amount at the end ([spec](https://spec.commonmark.org/0.31.2/#code-spans)).
So if we had 2 backticks in the value, we would still have the problem, right?
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.
https://github.com/llvm/llvm-project/pull/192239
More information about the lldb-commits
mailing list