MCPcopy
hub / github.com/laurent22/joplin / onattribend

Method onattribend

packages/fork-htmlparser2/src/Parser.ts:361–375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

359 }
360
361 onattribend() {
362 if (this._cbs.onattribute)
363 this._cbs.onattribute(this._attribname, this._attribvalue);
364 if (
365 this._attribs &&
366 !Object.prototype.hasOwnProperty.call(
367 this._attribs,
368 this._attribname
369 )
370 ) {
371 this._attribs[this._attribname] = this._attribvalue;
372 }
373 this._attribname = "";
374 this._attribvalue = "";
375 }
376
377 _getInstructionName(value: string) {
378 const idx = value.search(reNameEnd);

Callers

nothing calls this directly

Calls 1

onattributeMethod · 0.65

Tested by

no test coverage detected