Elgg/Elgg — pull request #5455 by jrtilson (2013-05-08 20:00:48+00:00)
Title: Strip slashes added by output/confirmlink in elgg.ui.requiresConfirmation

The output/confirmlink view adds slashes (via addslashes) to the confirm text. Which is all well and good considering this gets loaded into the 'rel' attribute. But, the slashes are never stripped out when the alert dialog is displayed by the elgg.ui.requiresConfirmation function.

I added a simple regex replace on the text. Not sure if its worth adding a new helper function or not.