jzaefferer/jquery-validation — pull request #493 by erez-rabih (2012-08-28 22:26:05+00:00)
Title: errorMessageTemplate option for validate() method - allow custom HTML for generated errors.

Allows to create custom HTML structures as error messages.
Example:

$("#my_form").validate({
rules: { username: 'required' },
messages: { username: { required: "Username is required" } },
errorMessageTemplate: " {0} "
} )

The corresponding generated error HTML:

Username is required