diff --git a/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java b/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java
index <HASH>..<HASH> 100644
--- a/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java
+++ b/mod/jodd-wot/src/jodd/lagarto/adapter/htmlstapler/HtmlStaplerBundlesManager.java
@@ -373,6 +373,13 @@ public class HtmlStaplerBundlesManager {
 					} else {

 						localFile += FileNameUtil.getPath(actionPath) + '/' + src;

 					}

+

+					// trim link parameters, if any

+					int qmndx = localFile.indexOf('?');

+					if (qmndx != -1) {

+						localFile = localFile.substring(0, qmndx);

+					}

+

 					content = FileUtil.readString(localFile);

 				} else {

 					// download local resource
fixing bug when local resource file has parameters