iftechfoundation / ifdb

The software behind the Interactive Fiction Database (IFDB)
Other
23 stars 18 forks source link

Fix formatting error in API page #317

Closed Keltena closed 1 month ago

Keltena commented 1 month ago

Fixes typo that caused several paragraphs of the putific API documentation to be formatted as a link.

salty-horse commented 1 month ago

I think the </a> should be closed rather than removed. Elsewhere in the page it links to the "External Links" section with https://ifdb.org/api/putific#links

BTW, I don't see the buggy behavior you're describing in Firefox, where it "fixes" the page automatically be closing the link before the </h2>.

Keltena commented 1 month ago

I think the </a> should be closed rather than removed. Elsewhere in the page it links to the "External Links" section with https://ifdb.org/api/putific#links

Done.

BTW, I don't see the buggy behavior you're describing in Firefox, where it "fixes" the page automatically be closing the link before the </h2>.

Huh, I get it in Firefox on both Windows 10 and Android. (Also in Chrome on Windows 10.) From the header to the File Formats link about 12 paragraphs later, all the text is link-colored:

Screenshot ![Animated GIF showing the affected section of the page. The text is purple and turns red on hover.](https://github.com/user-attachments/assets/73b81ba0-4bf9-475a-b8eb-b293bcb67fbd)
dfabulich commented 1 month ago

I couldn't reproduce the bug either on latest Chrome/Firefox for macOS. But, hey, this is clearly better, and now, it's deployed.