@bestend/confluence-cli 1.16.1 → 1.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/confluence-client.js
CHANGED
|
@@ -878,7 +878,7 @@ class ConfluenceClient {
|
|
|
878
878
|
// - pre/code → ac:structured-macro code blocks with CDATA
|
|
879
879
|
// - blockquote → info/warning/note macros
|
|
880
880
|
// - th/td content wrapped in p
|
|
881
|
-
// - hr →
|
|
881
|
+
// - hr → removed (Confluence does not use horizontal rules)
|
|
882
882
|
let storage = html;
|
|
883
883
|
|
|
884
884
|
// Wrap li content in p tags (Confluence requirement)
|
|
@@ -934,8 +934,8 @@ class ConfluenceClient {
|
|
|
934
934
|
|
|
935
935
|
// Links: keep <a href> as-is (compatible with both Cloud and Server/Data Center)
|
|
936
936
|
|
|
937
|
-
//
|
|
938
|
-
storage = storage.replace(/<hr\s*\/?>/g, '
|
|
937
|
+
// Remove horizontal rules (Confluence does not use them)
|
|
938
|
+
storage = storage.replace(/<hr\s*\/?>/g, '');
|
|
939
939
|
|
|
940
940
|
return storage;
|
|
941
941
|
}
|