Skip to content

Commit

Permalink
feishu-docx: Callout remove style attribute output.
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee committed Sep 19, 2023
1 parent 86f9607 commit 3485fbf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion feishu-docx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "feishu-docx",
"version": "0.3.1",
"version": "0.3.2",
"description": "Convert Feishu Docx into other format (Markdown, HTML ...)",
"module": "src/index.ts",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion feishu-docx/src/markdown_renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ export class MarkdownRenderer extends Renderer {
})
.join('; ');

buf.write(`<div class="${classNames.join(' ')}" style="${styleAttr}">\n`);
buf.write(`<div class="${classNames.join(' ')}">\n`);
if (block.callout.emoji_id) {
buf.write(getEmojiChar(block.callout.emoji_id));
buf.write(' ');
Expand Down

0 comments on commit 3485fbf

Please sign in to comment.