The bold and italic decorations are represented internally as annotations. This means that if you do
_foo_ and {foo}
the second foo will be italic because it looks up the italic annotation of the first foo. This is not what I think most people would expect and decorations should not be used for consistent semantic annotation anyway. The cure for this is simply to make all decorations local annotations.
The bold and italic decorations are represented internally as annotations. This means that if you do
the second foo will be italic because it looks up the italic annotation of the first foo. This is not what I think most people would expect and decorations should not be used for consistent semantic annotation anyway. The cure for this is simply to make all decorations local annotations.