diff --git a/src/rules/pennwell/README.md b/src/rules/pennwell/README.md index d2668b2..ed752ac 100644 --- a/src/rules/pennwell/README.md +++ b/src/rules/pennwell/README.md @@ -2,45 +2,8 @@ ## Default To access, send a `POST` request to `/pennwell/default`. This rule set performs the following operations: -- Removes duplicative whitespace values (via `html.replace(/\s\s+/g, '')`) -- Extracts the `deck` text from elements classed with `.paraStyle_headline_deck` and removes the element from the cleaned HTML. -- Extracts an `author` object from elements classed with `.paraStyle_byline` or `.paraStyle_body_bio` and removes the elements from the cleaned HTML. -- If an `

` is detected anywhere in the body, all heading elements are increased by one (e.g. `

` becomes `

`, `

` becomes `

`, etc). +- Removes duplicative whitespace values +- If an `

` or `

` is detected anywhere in the body, all heading elements are increased by two (e.g. `

` becomes `

`, `

` becomes `

`, etc). - Removes all `
` and `