Normalize HTML poster wrappers

This commit is contained in:
Your Name
2026-08-04 20:35:47 +05:00
parent d66be9f7a6
commit 8eadddba1f
3 changed files with 99 additions and 3 deletions
+3
View File
@@ -94,6 +94,9 @@ canonical git repository as FN-8. Code work for both projects must happen in
`max_poster_header_text`, `max_poster_footer_text`.
- MAX header/footer text is sent as HTML. For clickable text use:
`<a href="https://example.com">Link text</a>`.
- HTML wrapper settings are normalized before publishing: safe `http/https`
links and simple formatting stay, unsupported/broken tags are stripped while
their readable text is kept.
- The editor textarea must show only clean editable text.
- The list preview in `/editor` should show the publication preview, including composed hashtags.
- `build_publication_text()` in `src/vk_parser_app/text_utils.py` is display/composition helper only. Do not use it before writing `final_text` to DB.