TopSwagCode / xpath-diner

Mozilla Public License 2.0
16 stars 5 forks source link

Level 26 - There is a missing '=' within the example text. #8

Open ChromaticFlint opened 4 years ago

ChromaticFlint commented 4 years ago

Within js/levels.js on line 374, the example text is missing an '=' symbol.

Replace the current line 374: "<strong>//img[substring(@src, string-length(@src) - string-length('.jpg')+1 ) '.jpg' ]</strong> selects all images display a <strong>.jpg</strong> image.",

with

"<strong>//img[substring(@src, string-length(@src) - string-length('.jpg')+1 ) = '.jpg' ]</strong> selects all images display a <strong>.jpg</strong> image.",