m1 / gospin

Article spinning and spintax/spinning syntax engine written in Go, useful for A/B, testing pieces of text/articles and creating more natural conversations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in spinner.Spin

gradinarot opened this issue · comments

When i'm using
spinner.Spin("{Apply|Use} this {special |||}{spintax|spin}")
sometimes the output is "Use thisspintax" which means the white space after "this" is removed.

What is your intended output?

"{special |||}" should be outputted only ~25% the time

This has been fixed in 0.3.0. Thanks for reporting.