Skip to content

Advanced Paste is using HTML instead of Markdown #44351

@Narflar

Description

@Narflar

Microsoft PowerToys version

v0.96.1

Installation method

PowerToys auto-update

Area(s) with issue?

Advanced Paste

Steps to reproduce

When pasting cells from Google Sheets, it formats as HTML instead of markdown. JSON format is fine.

✔️ Expected Behavior

This example is pasted from Excel and is how it should look when pasted from Google Sheets.

| Advanced | Paste | Test | Sheet |
| This | should | be | Markdown |
| Instead | it | is | HTML |

❌ Actual Behavior

The output of Markdown from Google Sheets produces the following:

Example Markdown Paste:

<google-sheets-html-origin><style type="text/css"><!--td {border: 1px solid #cccccc;}br {mso-data-placement:same-cell;}--></style><table xmlns="http://www.w3.org/1999/xhtml" cellspacing="0" cellpadding="0" dir="ltr" border="1" data-sheets-root="1" data-sheets-baot="1"><colgroup><col width="100"><col width="100"><col width="100"><col width="100"></colgroup><tbody><tr><td>Advanced</td><td>Paste</td><td>Test</td><td>Sheet</td></tr><tr><td>This</td><td>should</td><td>be </td><td>Markdown</td></tr><tr><td>Instead</td><td>it</td><td>is</td><td>HTML</td></tr></tbody></table> </google-sheets-html-origin>

Example Sheet:
https://docs.google.com/spreadsheets/d/1kRRcw-mW5YhPe45480OvaO7GPllilOr9VUhyHMGPW_c/edit?usp=sharing

Additional Information

No response

Other Software

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugSomething isn't workingNeeds-TriageFor issues raised to be triaged and prioritized by internal Microsoft teamsProduct-Advanced PasteRefers to the Advanced Paste module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions