summaryrefslogtreecommitdiff
path: root/vendor/soundasleep/html2text/.editorconfig
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2023-10-18 20:14:54 +0300
committerAndrew Dolgov <[email protected]>2023-10-18 20:14:54 +0300
commit9f72616818daf2b3d01a580f0eda634c08513077 (patch)
tree7fd9f598278042f485f196982eceab76fde9f336 /vendor/soundasleep/html2text/.editorconfig
parent89f5af62d8d6c71043eb855a333acaca333ef297 (diff)
use html2text() instead of strip_tags() when making FTS indexes
Diffstat (limited to 'vendor/soundasleep/html2text/.editorconfig')
-rw-r--r--vendor/soundasleep/html2text/.editorconfig23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/soundasleep/html2text/.editorconfig b/vendor/soundasleep/html2text/.editorconfig
new file mode 100644
index 000000000..7974b6a8a
--- /dev/null
+++ b/vendor/soundasleep/html2text/.editorconfig
@@ -0,0 +1,23 @@
+# EditorConfig is awesome: http://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+# Unix-style newlines with a newline ending every file
+[*]
+end_of_line = lf
+charset = utf-8
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = tab
+indent_size = 4
+
+[*.md]
+indent_style = space
+indent_size = 2
+
+# don't add newlines to test files
+[tests/*]
+indent_style = tabs
+trim_trailing_whitespace = false
+insert_final_newline = false