Documenting the clear method
.html needed to be added to the pattern to work correctly