mirror of
https://github.com/DataTables/DataTables.git
synced 2024-11-29 11:24:10 +01:00
Dev: Syntax highlighter - link urls with a comma in them
Dev: Syntax highlighter - show the type label above the code so it doesn't over lap the code Dev: Syntax highlighter - don't show the `:after` option in highlighted code
This commit is contained in:
parent
11dbd3ca52
commit
fa9fa2e296
@ -1 +1 @@
|
||||
8bbe3332c9d5b5c51908814c1af6ccca9c597877
|
||||
1ea587a68521fd3b09701a255111f379b4d4b491
|
||||
|
@ -261,6 +261,10 @@ code.multiline {
|
||||
width: 95%;
|
||||
}
|
||||
|
||||
div.syntaxhighlighter code:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
ul.tabs {
|
||||
position: relative;
|
||||
|
@ -134,7 +134,7 @@
|
||||
.syntaxhighlighter .toolbar {
|
||||
position: absolute !important;
|
||||
right: 1px !important;
|
||||
top: 1px !important;
|
||||
top: -18px !important;
|
||||
font-size: 10px !important;
|
||||
z-index: 7 !important;
|
||||
}
|
||||
|
2
examples/resources/syntax/shCore.js
vendored
2
examples/resources/syntax/shCore.js
vendored
@ -120,7 +120,7 @@ var sh = {
|
||||
multiLineDoubleQuotedString : XRegExp('"([^\\\\"]|\\\\.)*"', 'gs'),
|
||||
multiLineSingleQuotedString : XRegExp("'([^\\\\']|\\\\.)*'", 'gs'),
|
||||
xmlComments : XRegExp('(<|<)!--.*?--(>|>)', 'gs'),
|
||||
url : /\w+:\/\/[\w-.\/?%&=:@;#]*/g,
|
||||
url : /\w+:\/\/[\w-.\/?%&=:@;#,]*/g,
|
||||
phpScriptTags : { left: /(<|<)\?(?:=|php)?/g, right: /\?(>|>)/g, 'eof' : true },
|
||||
aspScriptTags : { left: /(<|<)%=?/g, right: /%(>|>)/g },
|
||||
scriptScriptTags : { left: /(<|<)\s*script.*?(>|>)/gi, right: /(<|<)\/\s*script\s*(>|>)/gi }
|
||||
|
Loading…
Reference in New Issue
Block a user