summary refs log tree commit diff
path: root/data
diff options
context:
space:
mode:
authorVika <vika@fireburn.ru>2025-03-30 00:54:24 +0300
committerVika <vika@fireburn.ru>2025-03-30 00:54:24 +0300
commit2224f5557a3f2d522a82de27cee73234fa856298 (patch)
treeb0b8cd37a84766502f451ae101c2867d7d62ea55 /data
parent20f1d890bd87a3d0e72cb150e02433340abb0e9d (diff)
downloadbowl-2224f5557a3f2d522a82de27cee73234fa856298.tar.zst
Allow sending HTML without plain-text pre-processing by the server HEAD main
This might be useful if your server is misbehaving, or if you wish to
write your HTML by hand.

Alternative options (like client-side preprocessing) can also be added
in the future using this setting as a framework.
Diffstat (limited to 'data')
-rw-r--r--data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in b/data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in
index 1037063..c7eb986 100644
--- a/data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in
+++ b/data/xyz.vikanezrimaya.kittybox.Bowl.gschema.xml.in
@@ -1,6 +1,21 @@
 <?xml version="1.0" encoding="utf-8"?>
 <schemalist>
   <schema path="/xyz/vikanezrimaya/kittybox/Bowl/" id="@app-id@" gettext-domain="@gettext-package@">
+    <key name="send-html-directly" type="b">
+      <default>false</default>
+      <summary>Send post content as HTML</summary>
+      <description>
+        Some Micropub servers can preprocess plain-text content before
+        posting. Enable this option to ask the Micropub server to
+        treat your post content data as HTML and do not apply usual
+        plain-text processing.
+
+        This could be useful in case you wish to customize the post
+        content using features not available in your Micropub server's
+        preprocessor, or if your Micropub server lacks the ability to
+        preprocess content entirely.
+      </description>
+    </key>
     <key name="llm-endpoint" type="s">
       <default>"http://localhost:11434/"</default>
       <summary>LLM API endpoint</summary>