On Thursday, October 31, 2019 at 10:14:32 PM UTC+7, mpra wrote: > > Is this a bug or am I missing something? >
It looks like a bug. The lexer just turns tags into strings. The comment even says "The tag string itself. For now we don't need an object to represent those; keeping it simple." Which leads to the problem you've discovered. Links would have the same problem if they were allowed in metadata. Which raises the question, why are tags allowed but not links? Should links be allowed as well? Or should tags be disallowed? Out of curiosity, why are you putting the tag in the metadata and not just on the transaction itself? And why do you need to programmatically know that it is a tag as opposed to a string? -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/fecffb24-772e-41be-8835-e781cfdd8f22%40googlegroups.com.
