-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Send response in raw HTML #58
Comments
@tomgrassmann you can use markdown |
@znat Hello Nathan. I think I'm hitting this issue as well. If I output a link in markdown format, the [title part] seems to be totally ignored and the url string is appearing as both the title text and the href of the generated anchor. Here's an example. I added a fake accounting topic entry to my FAQ document that has a markdown link in it... ... and here's how it's rendered by rasa-webchat... The same link renders correctly under scalableminds chatroom. Other markdown output (emphasis, strong and tables) seems to be rendering correctly. |
@MatthieuJnon Perhaps this line might be the problem. Looks like it ignores the title in the renderer. Update: Confirmed. Commenting out lines 27-30 restores expected rendering of links. |
You're absolutely right, i'll fix this in a few hours |
@MatthieuJnon Hi Matthieu, thank you - that would be appreciated! I think I spoke too soon about no other problems with the Markdown rendering - there seems to be an issue with converting newlines in bot replies to html breaks as well. Will look to open a separate issue for that later. |
The named link issue has been fixed in the latest version 0.5.6, thank you for your documentation of the issue. |
How can i embed an iFrame ? i am trying to respond with google maps but it doesnt seem to accept iframe |
Hello!
Is there a way to send a Message as raw HTML?
I've got a custom action that's getting called, generating a Message containing some links retrieved from a database, which then are saved into a slot, which content is than echoed in the the Bots response.
At the Moment, the HTML seems to get escaped, so I'm getting
<a href="http://127.0.0.1/test/****>****Title, where the URL is a clickable Link instead of
just showing ****Title as a clickable Link.
Is there a way of changing this behavior? Is this even a problem with the chat script or is this an issue with Rasa?
The text was updated successfully, but these errors were encountered: