Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FurAffinity] Description Divs Not Closed when HTML Preserved #4224

Closed
BlueSpiders99 opened this issue Jun 23, 2023 · 2 comments
Closed

[FurAffinity] Description Divs Not Closed when HTML Preserved #4224

BlueSpiders99 opened this issue Jun 23, 2023 · 2 comments

Comments

@BlueSpiders99
Copy link

BlueSpiders99 commented Jun 23, 2023

I'm attempting to use the "descriptions": "html" option to preserve links and such in the description of FurAffinity downloads. However, this produces at least one, sometimes multiple open divs - the description always begins with <div class="submission-description user-submitted-links">, and occasionally includes a <div class="submission-footer"> as well. Neither is closed, resulting in formatting issues.

Is there a way around this? Adding an extra </div> to the template fixes the single-extra cases, and adding two fixes the double-extra, but they break the other kind.

mikf added a commit that referenced this issue Jun 24, 2023
- ignore header
- include footer and closing <div> if present
@mikf
Copy link
Owner

mikf commented Jun 25, 2023

Should be fixed with b6c9597.

Adding an extra </div> to the template fixes the single-extra cases, and adding two fixes the double-extra, but they break the other kind.

You could have possibly written some Python code to count the number of open <div>s and add closing </div>s accordingly.

@BlueSpiders99
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants