Skip to content

Add striketrough to xml-builder #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

xlsft
Copy link

@xlsft xlsft commented Aug 13, 2024

As mention in #237 by satyajitnayk
switch case is missing in buildRun()

@@ -535,6 +535,9 @@ const buildRun = async (vNode, attributes, docxDocumentInstance) => {
case 'sup':
tempAttributes.sup = true;
break;
case 's' & 'del' & 'strike':

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
case 's' & 'del' & 'strike':
case 's':
case 'del':
case 'strike':

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

case 's' & 'del' & 'strike': is invalid syntax in js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants