--- a/src/main/webapp/jquery/js/dataTables.dateFormat.js Tue Jun 05 15:40:45 2012 +0200
+++ b/src/main/webapp/jquery/js/dataTables.dateFormat.js Tue Jun 05 15:40:45 2012 +0200
@@ -1,6 +1,7 @@
/**
* https://github.com/sedovsek/DataTables-EU-date-Plug-In
* commit 4069413
+ * (+ strip html tags surrounding dates)
*
* Copyright 2011 https://github.com/sedovsek
*
@@ -27,7 +28,7 @@
*/
function calculate_date(date) {
- var date = date.replace(" ", "");
+ var date = date.replace(/<.*?>/g, "").replace(" ", "");
if (date.indexOf('.') > 0) {
/*date a, format dd.mn.(yyyy) ; (year is optional)*/