The provided pattern:
<button class="btn btn-xs btn-default quote-post" data-posted-by="Jessdavo" data-target="#post-form"> Quote </button> This matches standard Bootstrap + data-attribute quote functionality. The provided pattern: <
const quoteMarkup = `> Originally posted by $quotedUser:\n> $originalText.replace(/\n/g, '\n> ')`; Originally posted by $quotedUser:\n>
<button class="btn btn-xs btn-default quote-post" data-posted-by=" post.author " data-target="#post-form"> Quote </button> Where post.author = Jessdavo . Given string: -button class --btn btn-xs btn-default quote-post-- data-posted by --Jessdavo-- data-target --post-form-- The provided pattern: <