Skip to content
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

It arise an error when the length of filename is less than 4. But the length of new file can be less than 4 in Korean version like "문서1". #3

Open
raymondyrhong opened this issue Jul 15, 2017 · 0 comments

Comments

@raymondyrhong
Copy link

It is due to below code. In my opinion it needs to check the existence of extension first.

https://github.com/plantuml/word-template/blob/master/module/PlantUML#L279

' documentId is the filename with its path, without extension
'
    documentId = ActiveDocument.Name
    documentId = Left(documentId, Len(documentId) - 4)
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

No branches or pull requests

1 participant