Update(template): lightnovel (#956)
* ippotranslations, cpunovel * fix * test * [ranobelib] heading -> h2 (fixes LNReader/lnreader-plugins#960) * icon
This commit is contained in:
@@ -18,7 +18,7 @@ class RLIB implements Plugin.PluginBase {
|
||||
name = 'RanobeLib';
|
||||
site = 'https://ranobelib.me';
|
||||
apiSite = 'https://api.lib.social/api/manga/';
|
||||
version = '2.0.0';
|
||||
version = '2.0.1';
|
||||
icon = 'src/ru/ranobelib/icon.png';
|
||||
webStorageUtilized = true;
|
||||
|
||||
@@ -501,6 +501,12 @@ function jsonToHtml(json: HTML[], html: string = '') {
|
||||
(element.content ? jsonToHtml(element.content) : '<br>') +
|
||||
'</p>';
|
||||
break;
|
||||
case 'heading':
|
||||
html +=
|
||||
'<h2>' +
|
||||
(element.content ? jsonToHtml(element.content) : '<br>') +
|
||||
'</h2>';
|
||||
break;
|
||||
case 'text':
|
||||
html += element.text;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user