@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.
@@ -35,4 +35,4 @@ jobs:
35
35
  run: npm ci
36
36
 
37
37
  - name: Publish with provenance via OIDC
38
- run: npm publish --provenance --access public
38
+ run: npm publish --provenance --access public --tag latest
@@ -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 → self-closing 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
- // Convert horizontal rules
938
- storage = storage.replace(/<hr\s*\/?>/g, '<hr />');
937
+ // Remove horizontal rules (Confluence does not use them)
938
+ storage = storage.replace(/<hr\s*\/?>/g, '');
939
939
 
940
940
  return storage;
941
941
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bestend/confluence-cli",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "description": "A command-line interface for Atlassian Confluence with page creation and editing capabilities",
5
5
  "main": "index.js",
6
6
  "bin": {