Samirla / xmlview

Powerful XML viewer for Google Chrome and Safari
MIT License
329 stars 75 forks source link

Fixed #34, but affected util methods #35

Closed ixth closed 11 years ago

ixth commented 11 years ago

I completely changed findURLs function, but it seems to be used only in processText, so I considered it would be ok.

Now in processText findURLs splits text into chunks, then formats even (text) chunks with xv_utils.escapeHTML and odd (link) chunks with xv_utils.formatURL, which formats anchor and escapes text too.

sergeche commented 11 years ago

OK, looks good. Thank you!