diff --git a/modules/archive/test/test_lib.py b/modules/archive/test/test_lib.py
index b3e1fee8..e281477e 100644
--- a/modules/archive/test/test_lib.py
+++ b/modules/archive/test/test_lib.py
@@ -294,8 +294,19 @@ async def test_new_archive(test_session, test_directory, fake_now):
assert archive1.domain is not None
# The actual files were dumped and read correctly. The HTML/JSON files are reformatted.
- assert archive1.singlefile_path.read_text().count('\n') >= 10
- assert archive1.readability_path.read_text().count('\n') >= 5
+ # Note: We check for content presence rather than exact formatting because BeautifulSoup's
+ # prettify() can produce different output on different platforms (Mac vs CI).
+ singlefile_text = archive1.singlefile_path.read_text()
+ assert 'Page saved with SingleFile' in singlefile_text
+ assert 'test single-file' in singlefile_text
+ assert 'ジにてこちら' in singlefile_text
+ assert '
' in singlefile_text
+ assert 'some title' in singlefile_text
+ assert singlefile_text.count('\n') >= 5 # Verify it's properly formatted with newlines
+
+ readability_text = archive1.readability_path.read_text()
+ assert 'test readability content' in readability_text
+ assert readability_text.count('\n') >= 3 # Verify it's properly formatted with newlines
with open(archive1.readability_txt_path) as fh:
assert fh.read() == 'test readability textContent'
assert archive1.readability_json_path.read_text() == '''{
diff --git a/scripts/initialize_map_db.sh b/scripts/initialize_map_db.sh
index 3dd04461..bfc41e16 100755
--- a/scripts/initialize_map_db.sh
+++ b/scripts/initialize_map_db.sh
@@ -19,7 +19,7 @@ pg_createcluster 15 map --port=5433 --start -e utf8
sudo -iu postgres psql -c '\l' --port=5433 | grep gis || (
sudo -iu postgres createuser --port=5433 _renderd
sudo -iu postgres psql --port=5433 -c "alter user _renderd password 'wrolpi'"
- sudo -iu postgres createdb --port=5433 -E UTF8 -O _renderd gis
+ sudo -iu postgres createdb --port=5433 -E UTF8 -O _renderd --template=template0 gis
sudo -iu postgres psql -d gis --port=5433 -c 'CREATE EXTENSION postgis'
sudo -iu postgres psql -d gis --port=5433 -c 'CREATE EXTENSION hstore'
echo "Created gis database"
diff --git a/wrolpi/version.txt b/wrolpi/version.txt
index 200849be..a8f3ef06 100644
--- a/wrolpi/version.txt
+++ b/wrolpi/version.txt
@@ -1 +1 @@
-0.16.0-beta
\ No newline at end of file
+0.16.1-beta
\ No newline at end of file