View Issue Details

IDProjectCategoryView StatusLast Update
0002509MyList ExportBug Report - AniDBstyle/Cleancut Templatepublic2018-11-28 15:28
ReporterHarkonnen Assigned ToDerIdiot  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Summary0002509: some html themes are broken because of unescaped quotes
DescriptionI reported this on forum 4 years ago but apparently forgot to create a tracker item :(
https://anidb.net/perl-bin/animedb.pl?show=cmt&id=44472

Interestingly " is escaped in additional titles, but not in main
Steps To ReproduceAdd any anime that contains " in main title to mylist, f. e https://anidb.net/a10742 Dragon Ball Z: Fukkatsu no "F"
Export using html-anidbstyle
This is what you get in mylist.js:

a10742.id = 10742;
a10742.name = "Dragon Ball Z: Fukkatsu no "F"";
a10742.japkanji = "ドラゴンボールZ 復活の「F」";
a10742.eng = "Dragon Ball Z: Resurrection \"F\"";
a10742.year = "2015";
TagsNo tags attached.

Relationships

has duplicate 0003273 closedDerIdiot anime title with double-quote break the mylist export javascript 
has duplicate 0003274 closedDerIdiot anime title with double-quote break the mylist export javascript 

Activities

DerIdiot

2018-11-28 12:14

administrator   ~0004305

that isn't really an issue by the exporter itself as that one provides ways for the themes to handle this, but an issue of the themes

DerIdiot

2018-11-28 13:44

administrator   ~0004306

fixed this for these styles:
* html-anidbstyle
* html-cleancut
* html-lightblue
* html-operatic
* html-knch

as the codebase is almost identical.

furthermore changed the broken encoding definition of latin-1 in the html files to utf8 as it should have been for the past 10 years+

Issue History

Date Modified Username Field Change
2016-06-10 22:24 Harkonnen New Issue
2018-11-26 22:58 DerIdiot Relationship added has duplicate 0003273
2018-11-26 22:59 DerIdiot Relationship added has duplicate 0003274
2018-11-28 12:14 DerIdiot Note Added: 0004305
2018-11-28 13:44 DerIdiot Note Added: 0004306
2018-11-28 15:28 DerIdiot Summary All html export templates are broken because of unescaped " in anime names. => some html themes are broken because of unescaped quotes
2018-11-28 15:28 DerIdiot Assigned To => DerIdiot
2018-11-28 15:28 DerIdiot Status new => resolved
2018-11-28 15:28 DerIdiot Resolution open => fixed