Opened 15 years ago
Last modified 12 years ago
#1190 new Feature Requests
Markups inside simple markups
Reported by: | Joel de Guzman | Owned by: | Daniel James |
---|---|---|---|
Milestone: | To Be Determined | Component: | quickbook |
Version: | Boost 1.34.1 | Severity: | Cosmetic |
Keywords: | Cc: |
Description
Stjepan Rajko wrote:
On 7/29/07, Joel de Guzman <joel@…> wrote:
Stjepan Rajko wrote:
If I have a template ProducerConcept and I write:
['[ProducerConcept]]
the template gets expanded and written in italics, but if I write:
/[ProducerConcept]/
I get [ProducerConcept] in italics, i.e. the template does not get expanded. Is this intended? Seems a bit weird.
This is documented:
Doh! Yep, right there it is... sorry for the noise.
I know a way to relax these limitations, but it will involve some complexity. I am not sure yet if the added complexity is worth it.
I don't see it as necessary. I was just confused, due to having missed the relevant parts of the docs.
Don't brush it off just yet. There's the principle of "least surprise". If this behavior is surprising, regardless if it is documented or not, then it must be reconsidered.
FWIW, this has changed now.
not produces the equivalent of:
As 'simple markup' can no longer contain
[
so/
is not treated as italic markup and[ProducerConcept]
gets expanded.I'll try to improve this in a future version.