Discussions
Rich text caused Unexpected Error when merging against Advanced Template
I'm asking so many questions in here we may have to rename this the "starlingMark Questions" group.
We are merging a rich text field into an advanced template and it is causing an unexpected error. When I look at the underlying HTML in the rich text field I can see that it setup it's own style tags, which causes the template to barf. If I manually set the styles to inline everything prints properly.
I know that I could use a regex to pull out any style tags, but then I would also lose the formatting.
Anybody have a good workaround for this? Is there a way to force a rich text field to only use inline styles?