googleworkspace / google-docs-hast

Converts the JSON representation of a Google Docs document into an HTML abstract syntax tree (HAST).
Apache License 2.0
27 stars 12 forks source link

Typo breaking indentEnd processing in paragraphStyleToAttributes function. #13

Closed bwklein closed 7 months ago

bwklein commented 7 months ago

https://github.com/googleworkspace/google-docs-hast/blob/192c7518ecaf87523372a87c2f42e5df10404fc7/src/hast/common/paragraphStyle.ts#L68

should be

style.paddingRight = `${indentEnd.magnitude}${indentEnd.unit}`;

googleworkspace-bot commented 7 months ago

:tada: This issue has been resolved in version 1.0.5 :tada:

The release is available on:

Your semantic-release bot :package::rocket: