fixed a bug with truncating markup
debug info bugfix

- Setting debug-option to false no longer shows the "No element found"
debugging information.
- Added pathname-example