Skip to content
Commit c70c1433 authored by Xin Huang's avatar Xin Huang Committed by Albert Astals Cid
Browse files

Fix save image/sound files to relative path in kvtml2writer

The soundUrl of a translation parley passed in is "file:///path/to/kvtml/kvtmlfilename_files/File:En-us-Word.ogg", and the m_doc->url() is "file:///path/to/kvtml/kvtmlfilename.kvtml". By the old logic saving as relative url, the result will be "file:///path/to/kvtml/file:///path/to/kvtml/kvtmlfilename_files/Files:En-us-word.ogg".

REVIEW: 129992
parent e410bd83
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment