! s and u tags could not be disabled in editor + construct is tidier

+ changed if/else to array & foreach construct
+ if/else had incorrect conditions anyhow since "i" was repeated in error

Signed-off-by: -Underdog- github.underdog@gmail.com
Merge pull request #1868 from Underdog-01/patch-18

! s and u tags could not be disabled in editor + construct is tidier