Skip to content

Bionic Reading Converter leaves placeholder HTML output after Clear #358

Description

@baixiangcpp

Summary

When Bionic Reading Converter is in HTML Snippet mode, clicking Clear empties the input but leaves <p>&nbsp;</p> in the output and keeps Copy/Download enabled. Switching to Markdown Text after that shows a truly empty output with Copy/Download disabled, so the behavior differs by format.

Reproduction

  1. Open https://byteflow.tools/en/bionic-reading-converter.
  2. Select HTML Snippet.
  3. Enter:
Hello world! 123 testing.
  1. Click Clear.

Actual result

  • Input is empty.
  • Output textbox contains <p>&nbsp;</p>.
  • Copy and Download remain enabled.
  • Clicking Copy returns <p>&nbsp;</p>.

If Markdown Text is selected after clearing, the output becomes empty and Copy/Download are disabled.

Expected result

Clear should remove the output for both formats and disable Copy/Download. An empty HTML output should be "", not a placeholder paragraph.

Impact

Downstream users can copy or download a non-empty HTML fragment after believing the converter was cleared. This can create blank paragraphs in generated documents or make stale output appear valid.

Environment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions