aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/PDFBox.tsx
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2022-04-29 17:05:10 -0400
committerbobzel <zzzman@gmail.com>2022-04-29 17:05:10 -0400
commita6aec8759298fba41b486a973796662056f47da0 (patch)
tree84469ca63792f7b8467c6ac2fbc77afa86f6e047 /src/client/views/nodes/PDFBox.tsx
parent45062251a0ee91c5ece36141730a75dde03814dd (diff)
changed the way labelBox splits words to allow .&- added icon for webBox
Diffstat (limited to 'src/client/views/nodes/PDFBox.tsx')
-rw-r--r--src/client/views/nodes/PDFBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/PDFBox.tsx b/src/client/views/nodes/PDFBox.tsx
index f386c7bbd..69662d53a 100644
--- a/src/client/views/nodes/PDFBox.tsx
+++ b/src/client/views/nodes/PDFBox.tsx
@@ -87,7 +87,7 @@ export class PDFBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
CreateImage(
"",
document.styleSheets,
- htmlString?.replace(/docView-hack/g, 'documentView-hack'),
+ htmlString,
nativeWidth,
nativeWidth * this.props.PanelHeight() / this.props.PanelWidth(),
NumCast(this.layoutDoc._scrollTop) * this.props.PanelHeight() / NumCast(this.rootDoc[this.fieldKey + "-nativeHeight"])