Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Markdown is applied incorrectly #157

Open
jhauberg opened this issue Mar 30, 2017 · 0 comments
Open

Markdown is applied incorrectly #157

jhauberg opened this issue Mar 30, 2017 · 0 comments
Labels

Comments

@jhauberg
Copy link
Owner

jhauberg commented Mar 30, 2017

The point at which Markdown formatting is applied should probably be before resolving fields.

For example, I just encountered this situation:

shared.csv

@definition,@value
"token","*"

and then a datasource with a column containing this:

"Remove 1 {{ token }} from any *asset*."

This (incorrectly) produces:

Remove 1 from any asset*

The reason for this is that it first resolves any fields, thus becoming:

Remove 1 * from any *asset*

Then, it applies Markdown (exactly) as it should. But the result is not what was expected.

@jhauberg jhauberg added the bug label Mar 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant