From 4283e9908ef756bd852ec4477b14be40213c93d4 Mon Sep 17 00:00:00 2001 From: Tom Pickard Date: Thu, 7 Nov 2019 14:45:18 +0200 Subject: [PATCH] apply text styles to the list denoters --- package.json | 2 +- src/lib/renderRules.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index de62e20..ef8df00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-markdown-display", - "version": "4.0.3", + "version": "4.0.4", "description": "Markdown renderer for react-native, with CommonMark spec support + adds syntax extensions & sugar (URL autolinking, typographer), originally created by Mient-jan Stelling as react-native-markdown-renderer", "main": "src/index.js", "types": "src/index.d.ts", diff --git a/src/lib/renderRules.js b/src/lib/renderRules.js index 5be6d59..eefba35 100644 --- a/src/lib/renderRules.js +++ b/src/lib/renderRules.js @@ -175,7 +175,7 @@ const renderRules = { if (hasParents(parent, 'bullet_list')) { return ( - + {Platform.select({ [PlatformEnum.ANDROID]: '\u2022', [PlatformEnum.IOS]: '\u00B7', @@ -199,7 +199,7 @@ const renderRules = { } return ( - + {listItemNumber} {node.markup}