tiff / wysihtml5

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.
http://xing.github.com/wysihtml5/
MIT License
6.49k stars 995 forks source link

doesn't know how to insert links correctly #524

Open ayyobro opened 9 years ago

ayyobro commented 9 years ago

I added links via the api with 'data-wysihtml5-command="createLink"', I have manually copy and pasted the url into the textarea, I have also typed a url into the textarea but no matter what the links show up looking like crap.

Using the api (output): http://laravel.io">Here's a link

Copy and paste output: http://laravel.com/docs/4.2/routing#named-routes">http://laravel.com/docs/4.2/routing#named-routes">http://laravel.com/docs/4.2/routing#named-routes

Manual Typing output: http://laravel.io">Here's a link

Looking at the html:

http://laravel.io">Here's a link

Any thoughts as to why this particular feature is so broke?

danielmontgomery commented 9 years ago

I'm encountering this issue as well. Have you found a solution? On a different issue thread, this repo was mentioned as being the currently maintained code: https://github.com/Voog/wysihtml

Did you by any chance try out this newer version?