View Issue Details

IDProjectCategoryView StatusLast Update
0002415HTML & PERLFeature Request - Interfacepublic2016-03-26 23:04
ReporterHinoe Assigned ToDerIdiot  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0002415: Broken bbcode (see pic) when description is clipped in the middle of a link in the calendar/schedule
DescriptionIn the Seitokai Yakuindomo * OAD (https://anidb.net/a10761) description, "Seitokai Yakuindomo *" is a link to https://anidb.net/a10197 . This is what the schedule shows: https://i.imgur.com/FCeb9Gn.png

Probably also applies to other places where we clip descriptions.
Steps To Reproducehttps://anidb.net/perl-bin/animedb.pl?show=calendar&last.anime.month=16&last.anime.year=2014&ova=1&do.update=1
Additional InformationThe way this fails with mid-bbcode clipping is unclear to me. I'm fairly sure it apples to URL tags in the process of opening (as in, the "left side" is unfinished), and this case is for a URL tag in the process of closing (with the "right side" unfinished). I don't know what happens when the tag was opened but not closed (without the "right side"). I'm also not sure whether this behavior is consistent for all tags; maybe the URL tag and the, say, italics tag (also commonly used) behave differently.

Suggested fix: ignore tag markup when "counting the characters" for deciding where to clip the description, which should fix "unfinished left/right side" issues, and then check for unclosed tags (without a "right side"); if unclosed tags (without a "right side") are found, force closing them at the end (add a "right side").
TagsNo tags attached.

Relationships

duplicate of 0002441 resolvedDerIdiot Season Chart: URL encoding error 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2016-03-11 20:21 Hinoe New Issue
2016-03-26 23:04 DerIdiot Relationship added duplicate of 0002441
2016-03-26 23:04 DerIdiot Status new => resolved
2016-03-26 23:04 DerIdiot Resolution open => fixed
2016-03-26 23:04 DerIdiot Assigned To => DerIdiot