Skip to content

Commit 811d010

Browse files
authored
Merge pull request #125 from isilher/add-style-rendering-improvements
Add style rendering improvements
2 parents 80269cb + 200f0b7 commit 811d010

File tree

6 files changed

+396
-103
lines changed

6 files changed

+396
-103
lines changed

HTMLView.js

+2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ import {Linking, StyleSheet, View} from 'react-native';
55

66
const boldStyle = {fontWeight: '500'};
77
const italicStyle = {fontStyle: 'italic'};
8+
const underlineStyle = {textDecorationLine: 'underline'};
89
const codeStyle = {fontFamily: 'Menlo'};
910

1011
const baseStyles = StyleSheet.create({
1112
b: boldStyle,
1213
strong: boldStyle,
1314
i: italicStyle,
1415
em: italicStyle,
16+
u: underlineStyle,
1517
pre: codeStyle,
1618
code: codeStyle,
1719
a: {

0 commit comments

Comments
 (0)