View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002415 | HTML & PERL | Feature Request - Interface | public | 2016-03-11 20:21 | 2016-03-26 23:04 |
Reporter | Hinoe | Assigned To | DerIdiot | ||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Summary | 0002415: Broken bbcode (see pic) when description is clipped in the middle of a link in the calendar/schedule | ||||
Description | In 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 Reproduce | https://anidb.net/perl-bin/animedb.pl?show=calendar&last.anime.month=16&last.anime.year=2014&ova=1&do.update=1 | ||||
Additional Information | The 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"). | ||||
Tags | No tags attached. | ||||