Skip to content

Commit

Permalink
enable self closing tags in html messages
Browse files Browse the repository at this point in the history
  • Loading branch information
robertKozik committed Apr 16, 2024
1 parent 4319c85 commit f5440ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/HTMLEngineProvider/BaseHTMLEngineProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ function BaseHTMLEngineProvider({textSelectable = false, children, enableExperim
tagsStyles={styles.webViewStyles.tagStyles}
enableCSSInlineProcessing={false}
systemFonts={Object.values(FontUtils.fontFamily.single)}
htmlParserOptions={{
recognizeSelfClosing: true,
}}
domVisitors={{
// eslint-disable-next-line no-param-reassign
onText: (text) => (text.data = convertToLTR(text.data)),
Expand Down

0 comments on commit f5440ec

Please sign in to comment.