thymeleaf / thymeleaf-docs

Thymeleaf documentation
Apache License 2.0
44 stars 54 forks source link

Typo in docs: "emtpy" instead of "empty" #71

Closed samorajp closed 5 years ago

samorajp commented 5 years ago

Hi, I have found two occurrences of "emtpy" in fragment below:

Advanced conditional insertion of fragments

The availability of both the emtpy fragment and no-operation token allows us to perform conditional insertion of fragments in a very easy and elegant way.

For example, we could do this in order to insert our common :: adminhead fragment only if the user is an administrator, and insert nothing (emtpy fragment) if not:

Here is PR with fix: https://github.com/thymeleaf/thymeleaf-docs/pull/70

ultraq commented 5 years ago

Fixed in the linked PR.