public class RemoveApostropheEntityTransformer extends Object implements Transformer
A Transformer that removes that apostrophe entity which is invalid in HTML.
When rendering to view you can't guarantee the output you have is XML (as you are rendering to HTML). As such, we don't have the liberty of parsing this output as XML - hence the regex implementation here.
|Constructor and Description|
|Modifier and Type||Method and Description|
public String transform(Reader input, ConversionContext conversionContext) throws XhtmlException
Copyright © 2003–2016 Atlassian. All rights reserved.