forked from akai/readest
And fix some text not shown in fixed-layout EPUB.
This commit is contained in:
@@ -159,6 +159,7 @@ const FoliateViewer: React.FC<{
|
||||
viewSettings,
|
||||
width,
|
||||
height,
|
||||
isFixedLayout: bookData.isFixedLayout,
|
||||
primaryLanguage: bookData.book?.primaryLanguage,
|
||||
userLocale: getLocale(),
|
||||
content: data,
|
||||
|
||||
@@ -175,6 +175,7 @@ const Annotator: React.FC<{ bookKey: string }> = ({ bookKey }) => {
|
||||
viewSettings: getViewSettings(bookKey)!,
|
||||
userLocale: getLocale(),
|
||||
content: '',
|
||||
isFixedLayout: bookData.isFixedLayout,
|
||||
transformers: ['punctuation'],
|
||||
reversePunctuationTransform: true,
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user