File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 130
130
131
131
### Features
132
132
133
+ - pat-inject: Don't rebase for some additional known prefixes to avoid that the links break when contained in an injected page snippet.
133
134
- pat-gallery: Allow adding images directly to the gallery.
134
135
- pat-validation: Allow for HTML5 style ` required ` attributes without a value.
135
136
- pat-validation: Added the possibility to check for fields equality
Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ <h3>Inject and fix URLs of options</h3>
420
420
class ="pat-inject "
421
421
data-pat-inject ="url:./index.html#rebase-url-demo; target: self::element "
422
422
>
423
- injection happens here!
423
+ injection happens here! < a href =" tel:3632347 " > Call for help </ a >
424
424
</ button >
425
425
</ div >
426
426
</ section >
Original file line number Diff line number Diff line change @@ -911,6 +911,11 @@ const inject = {
911
911
value . slice ( 0 , 2 ) !== "@@" &&
912
912
value [ 0 ] !== "#" &&
913
913
value . slice ( 0 , 7 ) !== "mailto:" &&
914
+ value . slice ( 0 , 4 ) !== "tel:" &&
915
+ value . slice ( 0 , 4 ) !== "fax:" &&
916
+ value . slice ( 0 , 7 ) !== "callto:" &&
917
+ value . slice ( 0 , 10 ) !== "ts3server:" &&
918
+ value . slice ( 0 , 6 ) !== "teams:" &&
914
919
value . slice ( 0 , 11 ) !== "javascript:"
915
920
) {
916
921
value = utils . rebaseURL ( base , value ) ;
You can’t perform that action at this time.
0 commit comments