Skip to content

Commit

Permalink
add icons via BeckyEbook and enable javascripts by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Jun 1, 2021
1 parent 544f0c4 commit 3b758cf
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 3 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
v020
- added plugin.svg and plugin.png contributed by BeckyEbook
- enable javascripts in epubs by default (per the epub3 standard)

v010
- first public release of BidiReader plugin for Sigil
2 changes: 1 addition & 1 deletion bibi/presets/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Bibi.preset({
// * keep your Bibi and website not to open files which you can not guarantee its security.
//----------------------------------------------------------------------------------------------------------------------------------------------

/* !!!! BE CAREFUL !!!! */ "allow-scripts-in-content" : false, // true or false (false is recommended).
/* !!!! BE CAREFUL !!!! */ "allow-scripts-in-content" : true, // true or false (false is recommended).
// If you change its value `true`, Bibi does not remove scripts natively-included in EPUB.
// It makes Bibi to be able to open EPUBs including useful scripts.
// But on the other hand, it may also allow XSS of malicious EPUB in some cases.
Expand Down
4 changes: 3 additions & 1 deletion buildplugin
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ PLUGIN_FILES = ['bibi',
'README.md',
'Bibi_README.md',
'plugin.py',
'plugin.xml',]
'plugin.xml',
'plugin.svg',
'plugin.png']

def findVersion():
_version_pattern = re.compile(r'<version>([^<]*)</version>')
Expand Down
Binary file added plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions plugin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<author>Sigil</author>
<description>Provide a Bibi epub3 reader to view the current epub being edited</description>
<engine>python3.4</engine>
<version>0.1.0</version>
<version>0.2.0</version>
<autostart>true</autostart>
<autoclose>true</autoclose>
<oslist>osx,win,unx</oslist>
Expand Down

0 comments on commit 3b758cf

Please sign in to comment.