Inserting a line break into the 'Full text' of the Cookie Control configuration page breaks the javascript. Line breaks are correctly stripped from the 'Introduction Text' in Line 172 of cookiecontrol.admin.inc. Patch in the next comment.

Comments

WebJohn’s picture

This patches duplicates line 172 of cookiecontrol.admin.inc, which removes line breaks from the 'Introduction Text', and applies the same logic to the 'Full Text' field.

(I've just noticed in the commit history of the dev branch that the same functionality may have recently been added to the .module file - presumably it should be in one of these places but not both?)

WebJohn’s picture

Assigned: WebJohn » Unassigned
Status: Active » Needs review
budda’s picture

Status: Needs review » Fixed

Done in dev branch.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.