Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parser: Parse <!-- more --> tag and <!-- noteaser --> #1460

Merged
merged 5 commits into from
Jul 4, 2017

Commits on Jul 3, 2017

  1. Parser: Parse <!-- more --> tag and <!-- noteaser -->

    These tags are officially supported by WordPress and are an exception
    with the concept of blocks. They contain structural data and yet they
    are just HTML comments without any further indication.
    
    The "more" tag supports an optional custom text string and if it is
    immediately followed by the "no teaser" tag then that contains
    additional information.
    
    In this change we parse those tags and combine them into a single "more"
    block with attributes of the custom text and whether or not the
    `noTeaser` option has been selected.
    dmsnell committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    5def46b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    065d158 View commit details
    Browse the repository at this point in the history
  3. Serialize to the more tag

    dmsnell committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    edb838d View commit details
    Browse the repository at this point in the history
  4. appease the angry linter

    dmsnell committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    d5eab31 View commit details
    Browse the repository at this point in the history
  5. appease the angry linter

    dmsnell committed Jul 3, 2017
    Configuration menu
    Copy the full SHA
    6a4ca43 View commit details
    Browse the repository at this point in the history