Skip to content

Commit 792e68b

Browse files
committed
couple of bugs with open_html_fragment_in_browser
1 parent 88d6d77 commit 792e68b

File tree

4 files changed

+12
-5
lines changed

4 files changed

+12
-5
lines changed

docs/CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
# Changelog
22

3+
## v0.1.17 (2025-03-27) -- BREAKING BACKWARD COMPATIBILITY
4+
5+
- fixed a few bugs in 0.1.16, no new functionality added
6+
- keeping the BREAKING note in case someone only looks at 0.1.17 and misses 0.1.16
7+
- as though anyone is looking at any of this ;)
8+
39
## v0.1.16 (2025-03-27) -- BREAKING BACKWARD COMPATIBILITY
410

511
- BREAKING: Changed domible.tools.open_html_in_browser to open_html_document_in_browser
612
- and added domible.tools.open_html_fragment_in_browser
7-
- makes it easier to, for example, create an HTML table using a builder then have that table popped open in the browser
13+
- makes it easier to, for example, create an HTML table using a builder then have that table popped open in the browser
814
- updated domible.tools.open_object_in_browser
915

10-
- this change is transpaerent but is good for testing open_html_fragment_in_browser
16+
- this change is transparent but is good for testing open_html_fragment_in_browser
1117

1218
## v0.1.15 (2025-01-13)
1319

@@ -88,7 +94,7 @@
8894
## v0.1.5 (2024-06-14)
8995

9096
- WARNING - Breaking backward compatibility with this release
91-
- changed several methods and variable names to snake case (Hey, kool aid!!)
97+
- changed several methods and variable names to snake case (Hey, cool aid!!)
9298
- added element_from_object to domible.builders, including simple test script (efo.py) in tests directory
9399
(not tied in to pytest though)
94100
- added add_sublist to ListBuilder to address HTML/CSS issue with extra "bullet point."

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "domible"
3-
version = "0.1.16"
3+
version = "0.1.17"
44
description = "python classes to create accessible HTML elements and documents "
55
authors = ["Joel Dodson <joeldodson@gmail.com>"]
66
maintainers = ["BlindGumption <blindgumption@gmail.com>"]

src/domible/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
import domible.elements
99
import domible.builders
1010
import domible.starterDocuments
11-
from domible.tools import open_object_in_browser, open_html_document_in_browser, save_to_file
11+
from domible.tools import open_object_in_browser, open_html_document_in_browser, open_html_fragment_in_browser, save_to_file
1212

1313
## end of file

src/domible/tools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def open_html_fragment_in_browser(
7474
html_doc: Html = basic_head_empty_body(title)
7575
body: Body = html_doc.get_body_element()
7676
body.add_content(html_frag)
77+
open_html_document_in_browser(html_doc, save_file, force)
7778

7879

7980
def open_object_in_browser(

0 commit comments

Comments
 (0)