function cdataEnd(code) {
    if (code === codes.greaterThan) {
      return end(code)
    }

    if (code === codes.rightSquareBracket) {
      effects.consume(code)
      return cdataEnd
    }

    return cdata(code)
  }
In CDATA, after `]]`, at `>`.

```markdown
> | a <![CDATA[>&<]]> b
                    ^
```

@type {State}