johndatserakis/vue-simple-context-menu

Menu item names needs to be trimmed

mewcrazy opened this issue · 2 comments

Hello,

I just noticed in my source code, that the strings of the context menu items contain lots of spaces or tabs and that messes up my source code. (not that it matters)

See the following image:
image

I just discoverd in your code that you wrapped a hardcoded newline and 4 spaces around the option.name.

Hello @mewcrazy, I looked for that hardcoded newline but I don't see it in my editor. Could you by any chance show me exactly where you're seeing it? Strange...