(c: number, quote: number)
| 803 | } |
| 804 | } |
| 805 | private handleInAttrValue(c: number, quote: number) { |
| 806 | if (c === quote || (__BROWSER__ && this.fastForwardTo(quote))) { |
| 807 | this.cbs.onattribdata(this.sectionStart, this.index) |
| 808 | this.sectionStart = -1 |
| 809 | this.cbs.onattribend( |
| 810 | quote === CharCodes.DoubleQuote ? QuoteType.Double : QuoteType.Single, |
| 811 | this.index + 1, |
| 812 | ) |
| 813 | this.state = State.BeforeAttrName |
| 814 | } else if (!__BROWSER__ && c === CharCodes.Amp) { |
| 815 | this.startEntity() |
| 816 | } |
| 817 | } |
| 818 | private stateInAttrValueDoubleQuotes(c: number): void { |
| 819 | this.handleInAttrValue(c, CharCodes.DoubleQuote) |
| 820 | } |
no test coverage detected