Skip to content

Refactor importHTML #714

@raineorshine

Description

@raineorshine

importHTML currently converts HTML directly into thought updates. Instead, break it up into two distinct functions that can be used independently as well as in a pipeline.

  1. Convert HTML to JSON (lossy) - Responsible for parsing the HTML and converting it to a strict hierarchy.
  2. Convert JSON to thought updates (lossless)

Metadata

Metadata

Assignees

Labels

refactorRefactor without changing behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions