react-native-simple-markdown icon indicating copy to clipboard operation
react-native-simple-markdown copied to clipboard

Extra space is added when escaping special characters.

Open martco opened this issue 7 years ago • 1 comments

looks like the library adds an extra space when escaping special characters.

($0.72/Ounce)

becomes

( $0 .72 /Ounce)

martco avatar Feb 02 '18 18:02 martco

@martco we had a similar issue that may or may not help you.

In our case, it turned out we introduced the behavior in a custom link component. We were map-ing over nodes content and eventually doing a join(' ') on the text. The accidental space in join was the problem for us.

blakek avatar Apr 19 '18 15:04 blakek