forked from phoedos/pmd
small comment
This commit is contained in:
Sergey
committed by
Juan Martín Sotuyo Dodero
parent
f093132e4e
commit
3d110b9634
@ -20,6 +20,7 @@ import net.sourceforge.pmd.lang.vf.rule.AbstractVfRule;
|
||||
|
||||
/**
|
||||
* @author sergey.gorbaty
|
||||
* February 2017
|
||||
*
|
||||
*/
|
||||
public class VfUnescapeElRule extends AbstractVfRule {
|
||||
@ -161,8 +162,8 @@ public class VfUnescapeElRule extends AbstractVfRule {
|
||||
break;
|
||||
}
|
||||
|
||||
if ("$Resource".equalsIgnoreCase(id.getImage()) || "URLFOR".equalsIgnoreCase(id.getImage()) || "$Site".equalsIgnoreCase(id.getImage())
|
||||
|| "$Page".equalsIgnoreCase(id.getImage())) {
|
||||
if ("$Resource".equalsIgnoreCase(id.getImage()) || "URLFOR".equalsIgnoreCase(id.getImage())
|
||||
|| "$Site".equalsIgnoreCase(id.getImage()) || "$Page".equalsIgnoreCase(id.getImage())) {
|
||||
isEscaped = true;
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user