-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbibi_bug_fixes.patch
29 lines (29 loc) · 1.65 KB
/
bibi_bug_fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- __src/bibi/resources/scripts/bibi.heart.js.orig 2021-06-14 09:07:26.000000000 -0400
+++ __src/bibi/resources/scripts/bibi.heart.js 2021-06-14 09:53:22.000000000 -0400
@@ -691,7 +691,7 @@
if(B.Type != 'EPUB') B.ZineData = { Source: { Path: 'zine.yaml' } };
if(BookDataFormat == 'URI') {
// Online
- if(O.Local) return reject(`Bibi can't open books via ${ D['book'] ? 'data-bibi-book' : 'URL' } on local mode`);
+ /* if(O.Local) return reject(`Bibi can't open books via ${ D['book'] ? 'data-bibi-book' : 'URL' } on local mode`); */
B.Path = BookInfo.Book;
const RootSource = (B.Type == 'Zine' ? B.ZineData : B.Container).Source;
const InitErrors = [], initialize_as = (FileOrFolder) => ({
@@ -5664,7 +5664,7 @@
Patterns: [
{ Attribute: 'href', Extensions: 'css' },
{ Attribute: 'src', Extensions: 'svg' },
- { Attribute: 'src|xlink:href', Extensions: 'gif|png|jpe?g' }
+ { Attribute: 'src|xlink:href', Extensions: 'gif|png|jpe?g|svg' }
]
}]
},
@@ -5678,7 +5678,7 @@
Patterns: [
{ Attribute: 'href', Extensions: 'css' },
{ Attribute: 'src', Extensions: 'js|svg' },
- { Attribute: 'src|xlink:href', Extensions: 'gif|png|jpe?g|mp([34]|e?g)|m4[av]' },
+ { Attribute: 'src|xlink:href', Extensions: 'gif|png|jpe?g|svg|mp([34]|e?g)|m4[av]' },
{ Attribute: 'poster', Extensions: 'gif|png|jpe?g' }
]
}]