Skip to content

Commit

Permalink
fix ios issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Jan 9, 2025
1 parent 2500f4d commit 14deb6b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ index d32140f..0804ba7 100644
TDefaultBlockRenderer,
TDefaultPhrasingRenderer,
diff --git a/node_modules/react-native-render-html/src/TRenderEngineProvider.tsx b/node_modules/react-native-render-html/src/TRenderEngineProvider.tsx
index 95b60df..56465c9 100644
index 95b60df..db6fe0b 100644
--- a/node_modules/react-native-render-html/src/TRenderEngineProvider.tsx
+++ b/node_modules/react-native-render-html/src/TRenderEngineProvider.tsx
@@ -1,7 +1,6 @@
Expand Down Expand Up @@ -561,7 +561,7 @@ index 95b60df..56465c9 100644
...config
}: PropsWithChildren<TRenderEngineConfig>): ReactElement {
- const engine = useTRenderEngine(config);
+ const engine = useTRenderEngine({enableUserAgentStyles, ...config});
+ const engine = useTRenderEngine({htmlParserOptions, emSize, ignoredDomTags, ignoredStyles, baseStyle, tagsStyles, classesStyles, enableUserAgentStyles, enableCSSInlineProcessing, customHTMLElementModels, fallbackFonts, systemFonts, ...config});
return (
<TRenderEngineContext.Provider value={engine}>
{children}
Expand Down

0 comments on commit 14deb6b

Please sign in to comment.