Resolved Table of Contents buttons on personal reading lists don't work if the story's title contains an apostrophe

RensisCoren

Active member
Joined
Oct 9, 2023
Messages
1
Points
41
As the title says. Apostrophes in titles aren't escaped within the relevant onclick function calls, so the presence of one causes a syntax error when attempting to fetch the chapter list.
 

Piisfun

Playful Spacetime Dragon
Joined
Jun 2, 2020
Messages
489
Points
133
Ah, the apostrophe strikes again...

Related Issues:
  • Typing a series title containing an apostrophe into the search bar will return no results.
  • Typing a series title containing an apostrophe into the "delete series" confirmation prompt will fail unless the title is copied and pasted into the prompt.
The problem seems to be caused by there being two different Unicode characters for an apostrophe, and the site considers them different...
 

Tony

Moderator
Staff member
Joined
Dec 21, 2018
Messages
749
Points
133
As the title says. Apostrophes in titles aren't escaped within the relevant onclick function calls, so the presence of one causes a syntax error when attempting to fetch the chapter list.

It's fixed!

Ah, the apostrophe strikes again...

Related Issues:
  • Typing a series title containing an apostrophe into the search bar will return no results.
  • Typing a series title containing an apostrophe into the "delete series" confirmation prompt will fail unless the title is copied and pasted into the prompt.
The problem seems to be caused by there being two different Unicode characters for an apostrophe, and the site considers them different...

I'll look into this
 
Last edited by a moderator:
Top