Skip to content

Commit

Permalink
Merge pull request #10 from jaraco/bugfix/win-paste-html
Browse files Browse the repository at this point in the history
Fix copy HTML
  • Loading branch information
jaraco committed Nov 27, 2020
2 parents ddbe400 + 50de6c4 commit 33c50ea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jaraco/clipboard/Windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


def paste_html():
return wclip.get_html().html
return wclip.get_html().fragment


paste_image = wclip.get_image
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ packages = find:
include_package_data = true
python_requires = >=3.6
install_requires =
jaraco.windows >= 3.4; sys_platform=="win32"
jaraco.windows >= 5.1; sys_platform=="win32"
richxerox >= 1.0.1; sys_platform=="darwin"
pyperclip >= 1.6; sys_platform=="linux2" or sys_platform=="linux"
setup_requires = setuptools_scm[toml] >= 3.4.1
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ toxworkdir={env:TOX_WORK_DIR:.tox}


[testenv]
deps =
commands =
pytest {posargs}
usedevelop = True
Expand Down

0 comments on commit 33c50ea

Please sign in to comment.