@maschinenlesbar.org/openka-cli
    Preparing search index...

    Function blocksWithClass

    • Slice out the top-level regions that begin with an opening tag carrying cls and end at terminator (or the next region of the same class). Class matching is on a whole word, so ps-folge does not match ps-folge-dok.

      Parameters

      • html: string
      • cls: string
      • Optionalterminator: RegExp

      Returns string[]