-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<blockquote> prevents header styles to be applied #21
Comments
I believe this is caused by the code that selects the "IntenseQuote" style. If that style is not found (it appears to be renamed in the newest O365 version of the default Word template - and maybe in others), then there are two start tags added which causes the Header to break. One work around I have found is to rename the "Intense Quote" style in your Word document to "IntenseQuote" and then testing. |
I did some tests and it appears that now, Word lazily instantiate the style IntenseQuote and Heading X. We first need to ensure the styles exists or push them ourself (like for the Hyperlink or Caption). |
Even with the lazy loading of the style, the current code, when "IntenseQuote" does not exist, causes both the |
Oh yes, you are really right. I resolve the bug in another way but you are raising a real issue and I found that I can see the same bad behavior in the TableColumn. Which surely will fix another issue that was recently raised. Thank you, this is a very nice catch ! |
After a blockquote, subsequent headers do not get styled
The XML generated has the "IntenseQuote" style property applied on the heading paragraphs.
The text was updated successfully, but these errors were encountered: