do portable link rewriting on import and add test to confirm it
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
<html url_name="secret:toylab"/>
|
||||
<html url_name="toyjumpto"/>
|
||||
<html url_name="toyhtml"/>
|
||||
<html url_name="nonportable"/>
|
||||
<video url_name="Video_Resources" youtube_id_1_0="1bK-WdDi6Qw" display_name="Video Resources"/>
|
||||
</videosequence>
|
||||
<video url_name="Welcome" youtube_id_1_0="p2Q6BrNhdh8" display_name="Welcome"/>
|
||||
|
||||
1
common/test/data/toy/html/nonportable.html
Normal file
1
common/test/data/toy/html/nonportable.html
Normal file
@@ -0,0 +1 @@
|
||||
<a href="/c4x/edX/toy/asset/foo.jpg">link</a>
|
||||
1
common/test/data/toy/html/nonportable.xml
Normal file
1
common/test/data/toy/html/nonportable.xml
Normal file
@@ -0,0 +1 @@
|
||||
<html filename="nonportable.html"/>
|
||||
Reference in New Issue
Block a user