Skip to content

Commit de8051a

Browse files
committed
test: Test local image
1 parent d96477b commit de8051a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

components/markdown-confluence-sync/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,6 @@ This method starts the sync process. It returns a promise that resolves when the
535535

536536
### Testing images with absolute urls
537537

538-
[![image](https://download.logo.wine/logo/Markdown/Markdown-Logo.wine.png)](https://download.logo.wine/logo/Markdown/Markdown-Logo.wine.png)
539-
540538
### Testing local image
541539

542540
![image](./test-image.png)

components/markdown-confluence-sync/src/lib/confluence/transformer/ConfluencePageTransformer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ export const ConfluencePageTransformer: ConfluencePageTransformerConstructor = c
102102
.use(rehypeReplaceDetails)
103103
.use(rehypeReplaceStrikethrough)
104104
.use(rehypeReplaceTaskList)
105-
.use(rehypeReplaceImgTags)
106105
.use(rehypeAddAttachmentsImages)
106+
.use(rehypeReplaceImgTags)
107107
.use(rehypeReplaceInternalReferences, {
108108
spaceKey: this._spaceKey,
109109
pages,

0 commit comments

Comments
 (0)