Skip to content
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

Use Unicode-emileys and replace text #3

Closed
wants to merge 1 commit into from
Closed

Use Unicode-emileys and replace text #3

wants to merge 1 commit into from

Conversation

exetico
Copy link

@exetico exetico commented May 27, 2019

I can't get render with markdown or other solution to work, so this should:

  • Render smileys as unicode
  • Replace HTML-blocks
  • Replace :value:

I can't get render with markdown or other solution to work, so this should:
- Render smileys as unicode
- Replace HTML-blocks
- Replace `:value:`
@exetico
Copy link
Author

exetico commented May 27, 2019

Hot-fix solution for #2 @angusmcleod :-)

image

@exetico
Copy link
Author

exetico commented May 27, 2019

Another solution could be looking for <img, grapping the src, and creating everything in h(), if it's even possible? I'm not that good to the virtual-dom stuff, but i can't take another day with raw HTML in my sidebar :D

@angusmcleod
Copy link
Owner

@exetico This is fixed now. I've used the existing libs in Discourse to handle the html formatting and escaping: f891157

Sorry for the delay!

@angusmcleod angusmcleod closed this Jun 3, 2019
@exetico
Copy link
Author

exetico commented Jun 4, 2019

Hi @angusmcleod

Thanks! Damn, i saw the rawhtml, but didn't think it was an option to use it like that. Thanks for the inputs! I really need to look by the options for the Discourse plugins. It's just hard to find it's way to all the options through the existing libs - which i doesn't know that great.. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants