micalevisk / gist-auto-update

Using Github Action schedule to update a gist (using my https://todoist.com content) // https://gist.github.com/micalevisk/c07638d8ed2099a6bd351405915efae8
1 stars 1 forks source link

Corrigir o formatador de itens #10

Closed micalevisk closed 4 years ago

micalevisk commented 4 years ago

O item

https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/ (Porting to the `Buffer.from()`/`Buffer.alloc()` API)

está saindo com o seguinte HTML

<td align="left"><a href="https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/" target="_blank">Porting to the `Buffer.from(</a></td>

O problema está na saída da função abaixo https://github.com/micalevisk/gist-auto-update/blob/0e82003d00caf169fc6270346e18cbd2619123fe/wt-function/item-formatters.js#L64 que está gerando:

{
  "link": "https://nodejs.org/en/docs/guides/buffer-constructor-deprecation/",
  "text": "Porting to the `Buffer.from("
}