public interface IEditorBbcodeService
| Modifier and Type | Method and Description |
|---|---|
String |
parse(String strValue)
Parse BBCODE text and return safe HTML
This method clean a
body fragment of HTML with Safelist.basicWithImages() |
String |
parseAndClean(String strValue,
org.jsoup.safety.Safelist safelist)
Parses the input string using BBCodeUtil.parse() and cleans the resulting HTML
using Jsoup.clean() with the specified Safelist, and returns the cleaned string.
|
String parse(String strValue)
body fragment of HTML with Safelist.basicWithImages()strValue - the value of the textString parseAndClean(String strValue, org.jsoup.safety.Safelist safelist)
strValue - the input string to be parsed and cleanedsafelist - the Safelist to be used for cleaning the HTMLCopyright © 2023 City of Paris. All rights reserved.