mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-20 15:48:41 +00:00
Add image inspection
This commit is contained in:
parent
55fe7fbdb8
commit
fd47702d21
|
|
@ -10,3 +10,4 @@ find ${ROOT_PATH} -name "*tpl.php" | xargs -0 grep '(id=")([\ ]*)(")' > ${INSPEC
|
|||
find ${ROOT_PATH} -name "*tpl.php" | xargs -0 grep '(min=")([a-zA-Z]*)(")' >> ${INSPECTION_PATH}/Modules/html/attributes_invalid.log
|
||||
find ${ROOT_PATH} -name "*tpl.php" | xargs -0 grep '(max=")([a-zA-Z]*)(")' >> ${INSPECTION_PATH}/Modules/html/attributes_invalid.log
|
||||
find ${ROOT_PATH} -name "*tpl.php" | xargs -0 grep '(=")([#$%^&*\(\)\\/]*)(")' >> ${INSPECTION_PATH}/Modules/html/attributes_invalid.log
|
||||
find ${ROOT_PATH} -name "*tpl.php" | xargs -0 grep '(<img(?!.*?alt=(["]).*?\2)[^>]*?)(/?>)' >> ${INSPECTION_PATH}/Modules/html/attributes_invalid.log
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user