Repository navigation
0.3.14
Full Changelog: v0.3.13...v0.3.14
What's Changed
- Preserve Quoted Authors: Extracted the author username from ... a écrit : within citation tables () during HTML to BBCode conversion.
- Pluggable user_resolver:
- Introduced the UserResolver type (dict[str, int] or Callable[[str], Optional[int]]).
- Propagated user_resolver throughout the conversion pipeline: bb.html_to_bb(), Message.from_lxml(), Topic.
parse_page_html(), Topic.load_page(), and HFRClient.
- Automatic Page-Level Directory: Topic.parse_page_html() automatically extracts a {pseudo: user_id} mapping from all
visible messages on the current page to resolve local intra-page citations without requiring external lookups. - Enhanced BBCode Output:
- Emits [quotemsg=msg_id,ref,user_id] when a valid non-zero user_id is resolved.
- Falls back to [quote=Pseudo]...[/quote] when user_id is missing but the author name is known, avoiding anonymous or
dummy user_id=0 tags.