mingzeng21 opened a new issue #13416:
URL: https://github.com/apache/superset/issues/13416
In a dashboard view, I am adding a markdown, and then editing some jinja
method, such as, {{ current_username() }}, {{ current_user_id() }}. But it does
not work as I expected.
### Expected results
I expected to see the result of the used jinja method, such as the current
username.
### Actual results
The actual results is plain string of the jinja method put in the markdown,
such as {{ current_username() }}.
#### Screenshots

#### How to reproduce the bug
1. Go to 'Dashboard'
2. Click on 'EDIT DASHBOARD' then plug in a markdown
3. Edit markdown, type {{ current_username() }}
4. Preview the markdown or click outside markdown, see result
### Environment
- superset version: 0.37.2
- python version: 3.7.4
- node.js version: 15.7.0
### Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [x] I have checked the superset logs for python stacktraces and included
it here as text if there are any.
- [x] I have reproduced the issue with at least the latest released version
of superset.
- [x] I have checked the issue tracker for the same issue and I haven't
found one similar.
### Additional context
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]