diff --git a/src/components/Overrides/CustomHTML.js b/src/components/Overrides/CustomHTML.js index 340717b..4e28948 100644 --- a/src/components/Overrides/CustomHTML.js +++ b/src/components/Overrides/CustomHTML.js @@ -21,15 +21,25 @@ class CustomHTML extends React.Component { return {children}; }; + getListBullet = (htmlAttribs, children, convertedCSSStyles, passProps) => { + return ( + - + ); + }; + render() { // Surround description with p to allow text styling if the description is not html return " + this.props.html + "

"} renderers={{ p: this.getBasicText, + li: this.getBasicText, }} + listsPrefixesRenderers={{ + ul: this.getListBullet + }} + ignoredTags={['img']} ignoredStyles={['color', 'background-color']} - onLinkPress={this.openWebLink}/>; } }