title: Parsley.js adding span before error message
body: <p>I'd like to add span element before every messages is Parsley.js. This code's working for prepared messages but not for custom messages.</p>
  
  <pre><code>    /**
      * Add / override error message
      *
      * @method addMessage
      * @param {String} name Message name. Will automatically be binded to validator with same name
      * @param {String} message Message
      */
      , addMessage: function ( key, message, type ) {
  
        if ( 'undefined' !== typeof type &amp;&amp; true === type ) {
          this.messages.type[ key ] = '&lt;span class="del2"&gt;&lt;/span&gt;' + message;
          return;
        }
  
        // custom types messages are a bit tricky cuz' nested ;)
        if ( 'type' === key ) {
          for ( var i in message ) {
            this.messages.type[ i ] = '&lt;span class="del2"&gt;&lt;/span&gt;' + message[ i ];
          }
  
          return;
        }
  
        this.messages[ key ] = '&lt;span class="del2"&gt;&lt;/span&gt;' + message;
      }
    };
  </code></pre>