Keep a description's headings, bullets and paragraphs, and draw them in the reader
The readers flattened a posting's HTML into one line with strip_html, so sections and bullets ran together. _shared.html_text gives a line per paragraph, '• ' before a list item and '## ' before a heading; every reader's description goes through it, sections read per role get their own headings, and the reader pane draws the lines as h3, ul and p. Excerpts leave the marks out. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
17e7615599
commit
c497fe965d
44 files changed
+300
-147
No files matched your search
@@ -113,7 +113,7 @@ def test_detail_of_the_standing_invitation() -> None:
|
||||
url = "https://configit.bamboohr.com/careers/26/detail"
|
||||
found = bamboohr.detail(_get_of({url: _read("bamboohr-detail-26.json")}, []), "configit", row)
|
||||
assert found["posted"] == datetime(2025, 10, 10, tzinfo=UTC)
|
||||
assert found["description"].startswith("Hi, If there is currently no vacant position")
|
||||
assert found["description"].startswith("Hi,\nIf there is currently no vacant position")
|
||||
assert "UK (remote)" in found["description"]
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user