diff --git a/BBCodePlus/BBCodePlus.php b/BBCodePlus/BBCodePlus.php
index b0b1cdb..4a1d479 100644
--- a/BBCodePlus/BBCodePlus.php
+++ b/BBCodePlus/BBCodePlus.php
@@ -19,7 +19,7 @@ function register() {
$this->name = plugin_lang_get( 'title' );
$this->description = plugin_lang_get( 'description' );
$this->page = 'config';
- $this->version = '2.0.16';
+ $this->version = '2.0.17';
$this->requires['MantisCore'] = '2.0.0';
# this plugin can coexist with MantisCoreFormatting.
@@ -70,6 +70,9 @@ function resources( $p_event ) {
}
}
+ # turn off formatting options.
+ config_set_global("html_make_links", false);
+
# includes.
$resources = '';
$resources .= '';
@@ -77,7 +80,6 @@ function resources( $p_event ) {
if ( ON == plugin_config_get( 'process_markitup' ) ) {
$resources .= '';
$resources .= '';
- //$resources .= '';
$resources .= '';
$resources .= '';
$resources .= '';
@@ -234,12 +236,12 @@ function string_process_bbcode( $p_string, $p_multiline = TRUE ) {
$t_extra_link_tags = 'target="_blank"';
# if there are any expressed links, images convert them to bbcode.
- $p_string = preg_replace( "/^((http|https|ftp):\/\/[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%#]+)/i", "[url]$1[/url]", $p_string );
- $p_string = preg_replace( "/([^='\"(\[url\]|\[img\])])((http|https|ftp):\/\/[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%#]+)/i", "$1[url]$2[/url]", $p_string );
+ $p_string = preg_replace( "/^((http|https|ftp|file):\/\/[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%#\|]+)/i", "[url]$1[/url]", $p_string );
+ $p_string = preg_replace( "/([^='\"(\[url\]|\[img\])])((http|https|ftp|file):\/\/[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%#\|]+)/i", "$1[url]$2[/url]", $p_string );
$t_search[] = "/\[img\]((http|https|ftp):\/\/[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%# ]+?)\[\/img\]/is";
$t_search[] = "/\[img\]([.]*[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%# ]+?)\[\/img\]/is";
- $t_search[] = "/\[url\]((http|https|ftp|mailto):\/\/([a-z0-9\.\-@:]+)[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),\#%~ ]*?)\[\/url\]/is";
+ $t_search[] = "/\[url\]((http|https|ftp|mailto|file):\/\/([\/a-z0-9\.\-@:]+)[a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),\#%~\| ]*?)\[\/url\]/is";
$t_search[] = "/\[url=((http|https|ftp|mailto):\/\/[^\]]+?)\](.+?)\[\/url\]/is";
$t_search[] = "/\[url=([a-z0-9;\/\?:@=\&\$\-_\.\+!*'\(\),~%# ]+?)\](.+?)\[\/url\]/is";
$t_search[] = "/\[email\]([a-z0-9\-_\.\+]+@[a-z0-9\-]+\.[a-z0-9\-\.]+?)\[\/email\]/is";
@@ -312,16 +314,16 @@ function string_process_bbcode( $p_string, $p_multiline = TRUE ) {
# code=lang
$p_string = preg_replace_callback('/\[code=(\w+)\](.+)\[\/code\]/imsU',
- function ($m) {
+ create_function('$m', '
return "
" . $m[2] . "
";
- }
+ ')
, $p_string);
# code=lang start=n
$p_string = preg_replace_callback('/\[code=(\w+)\ start=([0-9]+)\](.+)\[\/code\]/imsU',
- function ($m) {
+ create_function('$m', '
return "" . $m[3] . "
";
- }
+ ')
, $p_string);
# process quotes.
@@ -434,16 +436,16 @@ function string_strip_bbcode( $p_string, $p_multiline = TRUE ) {
# code=lang
$p_string = preg_replace_callback('/\[code=(\w+)\](.+)\[\/code\]/imsU',
- function ($m) {
+ create_function('$m', '
return $m[2];
- }
+ ')
, $p_string);
# code=lang start=n
$p_string = preg_replace_callback('/\[code=(\w+)\ start=([0-9]+)\](.+)\[\/code\]/imsU',
- function ($m) {
+ create_function('$m', '
return $m[3];
- }
+ ')
, $p_string);
# process quotes.
@@ -480,9 +482,9 @@ function restore_pre_code_tags( $p_string, $p_multiline = true ) {
$tags = implode( '|', $tags );
$t_string = preg_replace_callback('/<(' . $tags . ')(.*?)>/ui',
- function($m) {
+ create_function('$m', '
return "<" . $m[1] . str_replace(""", "\"", $m[2]) . ">";
- }
+ ')
, $t_string);
$t_string = preg_replace( '/<\/(' . $tags . ')\s*>/ui', '\\1>', $t_string );
diff --git a/BBCodePlus/files/bbcodeplus.css b/BBCodePlus/files/bbcodeplus.css
index e90b180..dd423e3 100644
--- a/BBCodePlus/files/bbcodeplus.css
+++ b/BBCodePlus/files/bbcodeplus.css
@@ -1,40 +1,40 @@
-div.bbcodeplus-quote {
- border: solid #c0c0c0 1px;
- padding: 10px;
- background-color: #d8d8d8;
-}
-
-pre {
- border: 1px solid silver;
- margin: 0 0 1.5em 0;
- overflow: auto;
- padding-left: 10px;
-}
-
-code span {
- font-family: Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;
- font-size: 1em;
-}
-
-.bbcodeplus-list {
- margin-left: 0px;
- padding-left: 1.2em;
-}
-
-.bbcodeplus-bullet-list {
- margin-left: 0px;
- padding-left: 1.2em;
- list-style-type: square;
-}
-
-.bbcodeplus-preview {
- height:100%;
- width:100%;
- font-family: 'Open Sans', sans-serif;
- font-size: 13px;
-}
-
-.bbcodeplus-preview-body {
- background-image:none !important;
- margin: 10px 10px;
-}
+div.bbcodeplus-quote {
+ border: solid #c0c0c0 1px;
+ padding: 10px;
+ background-color: #d8d8d8;
+}
+
+pre {
+ border: 1px solid silver;
+ margin: 0 0 1.5em 0;
+ overflow: auto;
+ padding-left: 10px;
+}
+
+code span {
+ font-family: Consolas,Monaco,"Andale Mono","Ubuntu Mono",monospace;
+ font-size: 1em;
+}
+
+.bbcodeplus-list {
+ margin-left: 0px;
+ padding-left: 1.2em;
+}
+
+.bbcodeplus-bullet-list {
+ margin-left: 0px;
+ padding-left: 1.2em;
+ list-style-type: square;
+}
+
+.bbcodeplus-preview {
+ height:100%;
+ width:100%;
+ font-family: 'Open Sans', sans-serif;
+ font-size: 13px;
+}
+
+.bbcodeplus-preview-body {
+ background-image:none !important;
+ margin: 10px 10px;
+}
diff --git a/BBCodePlus/files/jquery_migrate_min.js b/BBCodePlus/files/jquery_migrate_min.js
deleted file mode 100644
index 62149c2..0000000
--- a/BBCodePlus/files/jquery_migrate_min.js
+++ /dev/null
@@ -1,2 +0,0 @@
-/*! jQuery Migrate v1.2.1 | (c) 2005, 2013 jQuery Foundation, Inc. and other contributors | jquery.org/license */
-jQuery.migrateMute===void 0&&(jQuery.migrateMute=!0),function(e,t,n){function r(n){var r=t.console;i[n]||(i[n]=!0,e.migrateWarnings.push(n),r&&r.warn&&!e.migrateMute&&(r.warn("JQMIGRATE: "+n),e.migrateTrace&&r.trace&&r.trace()))}function a(t,a,i,o){if(Object.defineProperty)try{return Object.defineProperty(t,a,{configurable:!0,enumerable:!0,get:function(){return r(o),i},set:function(e){r(o),i=e}}),n}catch(s){}e._definePropertyBroken=!0,t[a]=i}var i={};e.migrateWarnings=[],!e.migrateMute&&t.console&&t.console.log&&t.console.log("JQMIGRATE: Logging is active"),e.migrateTrace===n&&(e.migrateTrace=!0),e.migrateReset=function(){i={},e.migrateWarnings.length=0},"BackCompat"===document.compatMode&&r("jQuery is not compatible with Quirks Mode");var o=e("",{size:1}).attr("size")&&e.attrFn,s=e.attr,u=e.attrHooks.value&&e.attrHooks.value.get||function(){return null},c=e.attrHooks.value&&e.attrHooks.value.set||function(){return n},l=/^(?:input|button)$/i,d=/^[238]$/,p=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,f=/^(?:checked|selected)$/i;a(e,"attrFn",o||{},"jQuery.attrFn is deprecated"),e.attr=function(t,a,i,u){var c=a.toLowerCase(),g=t&&t.nodeType;return u&&(4>s.length&&r("jQuery.fn.attr( props, pass ) is deprecated"),t&&!d.test(g)&&(o?a in o:e.isFunction(e.fn[a])))?e(t)[a](i):("type"===a&&i!==n&&l.test(t.nodeName)&&t.parentNode&&r("Can't change the 'type' of an input or button in IE 6/7/8"),!e.attrHooks[c]&&p.test(c)&&(e.attrHooks[c]={get:function(t,r){var a,i=e.prop(t,r);return i===!0||"boolean"!=typeof i&&(a=t.getAttributeNode(r))&&a.nodeValue!==!1?r.toLowerCase():n},set:function(t,n,r){var a;return n===!1?e.removeAttr(t,r):(a=e.propFix[r]||r,a in t&&(t[a]=!0),t.setAttribute(r,r.toLowerCase())),r}},f.test(c)&&r("jQuery.fn.attr('"+c+"') may use property instead of attribute")),s.call(e,t,a,i))},e.attrHooks.value={get:function(e,t){var n=(e.nodeName||"").toLowerCase();return"button"===n?u.apply(this,arguments):("input"!==n&&"option"!==n&&r("jQuery.fn.attr('value') no longer gets properties"),t in e?e.value:null)},set:function(e,t){var a=(e.nodeName||"").toLowerCase();return"button"===a?c.apply(this,arguments):("input"!==a&&"option"!==a&&r("jQuery.fn.attr('value', val) no longer sets properties"),e.value=t,n)}};var g,h,v=e.fn.init,m=e.parseJSON,y=/^([^<]*)(<[\w\W]+>)([^>]*)$/;e.fn.init=function(t,n,a){var i;return t&&"string"==typeof t&&!e.isPlainObject(n)&&(i=y.exec(e.trim(t)))&&i[0]&&("<"!==t.charAt(0)&&r("$(html) HTML strings must start with '<' character"),i[3]&&r("$(html) HTML text after last tag is ignored"),"#"===i[0].charAt(0)&&(r("HTML string cannot start with a '#' character"),e.error("JQMIGRATE: Invalid selector string (XSS)")),n&&n.context&&(n=n.context),e.parseHTML)?v.call(this,e.parseHTML(i[2],n,!0),n,a):v.apply(this,arguments)},e.fn.init.prototype=e.fn,e.parseJSON=function(e){return e||null===e?m.apply(this,arguments):(r("jQuery.parseJSON requires a valid JSON string"),null)},e.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||0>e.indexOf("compatible")&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e.browser||(g=e.uaMatch(navigator.userAgent),h={},g.browser&&(h[g.browser]=!0,h.version=g.version),h.chrome?h.webkit=!0:h.webkit&&(h.safari=!0),e.browser=h),a(e,"browser",e.browser,"jQuery.browser is deprecated"),e.sub=function(){function t(e,n){return new t.fn.init(e,n)}e.extend(!0,t,this),t.superclass=this,t.fn=t.prototype=this(),t.fn.constructor=t,t.sub=this.sub,t.fn.init=function(r,a){return a&&a instanceof e&&!(a instanceof t)&&(a=t(a)),e.fn.init.call(this,r,a,n)},t.fn.init.prototype=t.fn;var n=t(document);return r("jQuery.sub() is deprecated"),t},e.ajaxSetup({converters:{"text json":e.parseJSON}});var b=e.fn.data;e.fn.data=function(t){var a,i,o=this[0];return!o||"events"!==t||1!==arguments.length||(a=e.data(o,t),i=e._data(o,t),a!==n&&a!==i||i===n)?b.apply(this,arguments):(r("Use of jQuery.fn.data('events') is deprecated"),i)};var j=/\/(java|ecma)script/i,w=e.fn.andSelf||e.fn.addBack;e.fn.andSelf=function(){return r("jQuery.fn.andSelf() replaced by jQuery.fn.addBack()"),w.apply(this,arguments)},e.clean||(e.clean=function(t,a,i,o){a=a||document,a=!a.nodeType&&a[0]||a,a=a.ownerDocument||a,r("jQuery.clean() is deprecated");var s,u,c,l,d=[];if(e.merge(d,e.buildFragment(t,a).childNodes),i)for(c=function(e){return!e.type||j.test(e.type)?o?o.push(e.parentNode?e.parentNode.removeChild(e):e):i.appendChild(e):n},s=0;null!=(u=d[s]);s++)e.nodeName(u,"script")&&c(u)||(i.appendChild(u),u.getElementsByTagName!==n&&(l=e.grep(e.merge([],u.getElementsByTagName("script")),c),d.splice.apply(d,[s+1,0].concat(l)),s+=l.length));return d});var Q=e.event.add,x=e.event.remove,k=e.event.trigger,N=e.fn.toggle,T=e.fn.live,M=e.fn.die,S="ajaxStart|ajaxStop|ajaxSend|ajaxComplete|ajaxError|ajaxSuccess",C=RegExp("\\b(?:"+S+")\\b"),H=/(?:^|\s)hover(\.\S+|)\b/,A=function(t){return"string"!=typeof t||e.event.special.hover?t:(H.test(t)&&r("'hover' pseudo-event is deprecated, use 'mouseenter mouseleave'"),t&&t.replace(H,"mouseenter$1 mouseleave$1"))};e.event.props&&"attrChange"!==e.event.props[0]&&e.event.props.unshift("attrChange","attrName","relatedNode","srcElement"),e.event.dispatch&&a(e.event,"handle",e.event.dispatch,"jQuery.event.handle is undocumented and deprecated"),e.event.add=function(e,t,n,a,i){e!==document&&C.test(t)&&r("AJAX events should be attached to document: "+t),Q.call(this,e,A(t||""),n,a,i)},e.event.remove=function(e,t,n,r,a){x.call(this,e,A(t)||"",n,r,a)},e.fn.error=function(){var e=Array.prototype.slice.call(arguments,0);return r("jQuery.fn.error() is deprecated"),e.splice(0,0,"error"),arguments.length?this.bind.apply(this,e):(this.triggerHandler.apply(this,e),this)},e.fn.toggle=function(t,n){if(!e.isFunction(t)||!e.isFunction(n))return N.apply(this,arguments);r("jQuery.fn.toggle(handler, handler...) is deprecated");var a=arguments,i=t.guid||e.guid++,o=0,s=function(n){var r=(e._data(this,"lastToggle"+t.guid)||0)%o;return e._data(this,"lastToggle"+t.guid,r+1),n.preventDefault(),a[r].apply(this,arguments)||!1};for(s.guid=i;a.length>o;)a[o++].guid=i;return this.click(s)},e.fn.live=function(t,n,a){return r("jQuery.fn.live() is deprecated"),T?T.apply(this,arguments):(e(this.context).on(t,this.selector,n,a),this)},e.fn.die=function(t,n){return r("jQuery.fn.die() is deprecated"),M?M.apply(this,arguments):(e(this.context).off(t,this.selector||"**",n),this)},e.event.trigger=function(e,t,n,a){return n||C.test(e)||r("Global events are undocumented and deprecated"),k.call(this,e,t,n||document,a)},e.each(S.split("|"),function(t,n){e.event.special[n]={setup:function(){var t=this;return t!==document&&(e.event.add(document,n+"."+e.guid,function(){e.event.trigger(n,null,t,!0)}),e._data(this,n,e.guid++)),!1},teardown:function(){return this!==document&&e.event.remove(document,n+"."+e._data(this,n)),!1}}})}(jQuery,window);
\ No newline at end of file
diff --git a/BBCodePlus/files/markitup-init.js b/BBCodePlus/files/markitup-init.js
index f2a9cad..20b7055 100644
--- a/BBCodePlus/files/markitup-init.js
+++ b/BBCodePlus/files/markitup-init.js
@@ -3,7 +3,6 @@
// declare the path to the previewer using the plugin file processor.
mySettings.previewParserPath = "./plugin.php?page=BBCodePlus/preview.php";
-
// apply to proper text areas.
if ( $("textarea[name='bugnote_text']") )
$("textarea[name='bugnote_text']").markItUp(mySettings);
@@ -13,6 +12,8 @@
$("textarea[name='steps_to_reproduce']").markItUp(mySettings);
if ( $("textarea[name='additional_info']") )
$("textarea[name='additional_info']").markItUp(mySettings);
+ if ( $("textarea[name='additional_information']") )
+ $("textarea[name='additional_information']").markItUp(mySettings);
if ( $("textarea[name='body']") )
$("textarea[name='body']").markItUp( mySettings );
diff --git a/BBCodePlus/files/markitup/sets/default/set.js b/BBCodePlus/files/markitup/sets/default/set.js
index b7fdf81..90c504a 100644
--- a/BBCodePlus/files/markitup/sets/default/set.js
+++ b/BBCodePlus/files/markitup/sets/default/set.js
@@ -1,30 +1,30 @@
-// ----------------------------------------------------------------------------
-// markItUp!
-// ----------------------------------------------------------------------------
-// Copyright (C) 2011 Jay Salvat
-// http://markitup.jaysalvat.com/
-// ----------------------------------------------------------------------------
-// Html tags
-// http://en.wikipedia.org/wiki/html
-// ----------------------------------------------------------------------------
-// Basic set. Feel free to add more tags
-// ----------------------------------------------------------------------------
-var mySettings = {
- onShiftEnter: {keepDefault:false, replaceWith:'
\n'},
- onCtrlEnter: {keepDefault:false, openWith:'\n', closeWith:'
'},
- onTab: {keepDefault:false, replaceWith:' '},
- markupSet: [
- {name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' },
- {name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' },
- {name:'Stroke through', key:'S', openWith:'', closeWith:'' },
- {separator:'---------------' },
- {name:'Bulleted List', openWith:' ', closeWith:'', multiline:true, openBlockWith:''},
- {name:'Numeric List', openWith:' ', closeWith:'', multiline:true, openBlockWith:'\n', closeBlockWith:'\n
'},
- {separator:'---------------' },
- {name:'Picture', key:'P', replaceWith:'
' },
- {name:'Link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' },
- {separator:'---------------' },
- {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
- {name:'Preview', className:'preview', call:'preview'}
- ]
-}
+// ----------------------------------------------------------------------------
+// markItUp!
+// ----------------------------------------------------------------------------
+// Copyright (C) 2011 Jay Salvat
+// http://markitup.jaysalvat.com/
+// ----------------------------------------------------------------------------
+// Html tags
+// http://en.wikipedia.org/wiki/html
+// ----------------------------------------------------------------------------
+// Basic set. Feel free to add more tags
+// ----------------------------------------------------------------------------
+var mySettings = {
+ onShiftEnter: {keepDefault:false, replaceWith:'
\n'},
+ onCtrlEnter: {keepDefault:false, openWith:'\n', closeWith:'
'},
+ onTab: {keepDefault:false, replaceWith:' '},
+ markupSet: [
+ {name:'Bold', key:'B', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' },
+ {name:'Italic', key:'I', openWith:'(!(|!|)!)', closeWith:'(!(|!|)!)' },
+ {name:'Stroke through', key:'S', openWith:'', closeWith:'' },
+ {separator:'---------------' },
+ {name:'Bulleted List', openWith:' ', closeWith:'', multiline:true, openBlockWith:''},
+ {name:'Numeric List', openWith:' ', closeWith:'', multiline:true, openBlockWith:'\n', closeBlockWith:'\n
'},
+ {separator:'---------------' },
+ {name:'Picture', key:'P', replaceWith:'
' },
+ {name:'Link', key:'L', openWith:'', closeWith:'', placeHolder:'Your text to link...' },
+ {separator:'---------------' },
+ {name:'Clean', className:'clean', replaceWith:function(markitup) { return markitup.selection.replace(/<(.*?)>/g, "") } },
+ {name:'Preview', className:'preview', call:'preview'}
+ ]
+}
diff --git a/BBCodePlus/files/markitup/sets/default/style.css b/BBCodePlus/files/markitup/sets/default/style.css
index 336b60e..b1d20d6 100644
--- a/BBCodePlus/files/markitup/sets/default/style.css
+++ b/BBCodePlus/files/markitup/sets/default/style.css
@@ -1,34 +1,34 @@
-/* -------------------------------------------------------------------
-// markItUp!
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp .markItUpButton1 a {
- background-image:url(images/bold.png);
-}
-.markItUp .markItUpButton2 a {
- background-image:url(images/italic.png);
-}
-.markItUp .markItUpButton3 a {
- background-image:url(images/stroke.png);
-}
-
-.markItUp .markItUpButton4 a {
- background-image:url(images/list-bullet.png);
-}
-.markItUp .markItUpButton5 a {
- background-image:url(images/list-numeric.png);
-}
-
-.markItUp .markItUpButton6 a {
- background-image:url(images/picture.png);
-}
-.markItUp .markItUpButton7 a {
- background-image:url(images/link.png);
-}
-
-.markItUp .markItUpButton8 a {
- background-image:url(images/clean.png);
-}
-.markItUp .preview a {
- background-image:url(images/preview.png);
-}
+/* -------------------------------------------------------------------
+// markItUp!
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp .markItUpButton1 a {
+ background-image:url(images/bold.png);
+}
+.markItUp .markItUpButton2 a {
+ background-image:url(images/italic.png);
+}
+.markItUp .markItUpButton3 a {
+ background-image:url(images/stroke.png);
+}
+
+.markItUp .markItUpButton4 a {
+ background-image:url(images/list-bullet.png);
+}
+.markItUp .markItUpButton5 a {
+ background-image:url(images/list-numeric.png);
+}
+
+.markItUp .markItUpButton6 a {
+ background-image:url(images/picture.png);
+}
+.markItUp .markItUpButton7 a {
+ background-image:url(images/link.png);
+}
+
+.markItUp .markItUpButton8 a {
+ background-image:url(images/clean.png);
+}
+.markItUp .preview a {
+ background-image:url(images/preview.png);
+}
diff --git a/BBCodePlus/files/markitup/sets/mantis/style.css b/BBCodePlus/files/markitup/sets/mantis/style.css
index 7aea55a..03421fa 100644
--- a/BBCodePlus/files/markitup/sets/mantis/style.css
+++ b/BBCodePlus/files/markitup/sets/mantis/style.css
@@ -1,156 +1,156 @@
-/* -------------------------------------------------------------------
-// 16x16 base64-encoded icons.
-// ------------------------------------------------------------------*/
-/* bold */
-.markItUp .markItUpButton1 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/bold.png");
-}
-/* italic */
-.markItUp .markItUpButton2 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/italic.png");
-}
-/* strikethrough */
-.markItUp .markItUpButton3 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/stroke.png");
-}
-/* underline */
-.markItUp .markItUpButton4 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/underline.png");
-}
-/* --- separator ---*/
-/* color */
-.markItUp .markItUpButton5 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/color.png");
-}
-/* highlight */
-.markItUp .markItUpButton6 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/highlight.png");
-}
-/* size */
-.markItUp .markItUpButton7 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/size.png");
-}
-/* superscript */
-.markItUp .markItUpButton8 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/superscript.png");
-}
-/* subscript */
-.markItUp .markItUpButton9 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/subscript.png");
-}
-/* --- separator ---*/
-/* unordered list */
-.markItUp .markItUpButton10 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/list-bullet.png");
-}
-/* ordered list */
-.markItUp .markItUpButton11 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/list-numeric.png");
-}
-/* list item */
-.markItUp .markItUpButton12 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/list-item.png");
-}
-/* --- separator ---*/
-/* code */
-.markItUp .markItUpButton13 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/code.png");
-}
-/* quote */
-.markItUp .markItUpButton14 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/quote.png");
-}
-/* hr */
-.markItUp .markItUpButton15 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/hr.png");
-}
-/* --- separator ---*/
-/* left align */
-.markItUp .markItUpButton16 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/left-align.png");
-
-}
-/* center */
-.markItUp .markItUpButton17 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/center.png");
-}
-/* right align */
-.markItUp .markItUpButton18 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/right-align.png");
-}
-/* justify */
-.markItUp .markItUpButton19 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/justify.png");
-}
-/* --- separator ---*/
-/* link */
-.markItUp .markItUpButton20 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/link.png");
-}
-/* email */
-.markItUp .markItUpButton21 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/email.png");
-}
-/* picture */
-.markItUp .markItUpButton22 a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/picture.png");
-}
-/* --- separator ---*/
-/* clean */
-.markItUp .clean a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/clean.png");
-}
-/* preview */
-.markItUp .preview a {
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/preview.png");
-}
-
-/* --- begin colors addon */
-.markItUp .colors ul {
- width:81px;
- padding:1px;
-}
-.markItUp .colors li {
- border:1px solid white;
- width:25px; height:25px;
- overflow:hidden;
- padding:0px; margin:0px;
- float:left;
-}
-.markItUp .colors ul a {
- width:25px; height:25px;
-}
-.markItUp .colors ul a:hover {
- width:25px; height:25px;
-}
-
-.markItUp .colors .col1-1 a {
- background:yellow;
-}
-.markItUp .colors .col1-2 a {
- background:orange;
-}
-.markItUp .colors .col1-3 a {
- background:red;
-}
-
-.markItUp .colors .col2-1 a {
- background:blue;
-}
-.markItUp .colors .col2-2 a {
- background:purple;
-}
-.markItUp .colors .col2-3 a {
- background:green;
-}
-
-.markItUp .colors .col3-1 a {
- background:white;
-}
-.markItUp .colors .col3-2 a {
- background:gray;
-}
-.markItUp .colors .col3-3 a {
- background:black;
-}
+/* -------------------------------------------------------------------
+// 16x16 base64-encoded icons.
+// ------------------------------------------------------------------*/
+/* bold */
+.markItUp .markItUpButton1 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/bold.png");
+}
+/* italic */
+.markItUp .markItUpButton2 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/italic.png");
+}
+/* strikethrough */
+.markItUp .markItUpButton3 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/stroke.png");
+}
+/* underline */
+.markItUp .markItUpButton4 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/underline.png");
+}
+/* --- separator ---*/
+/* color */
+.markItUp .markItUpButton5 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/color.png");
+}
+/* highlight */
+.markItUp .markItUpButton6 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/highlight.png");
+}
+/* size */
+.markItUp .markItUpButton7 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/size.png");
+}
+/* superscript */
+.markItUp .markItUpButton8 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/superscript.png");
+}
+/* subscript */
+.markItUp .markItUpButton9 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/subscript.png");
+}
+/* --- separator ---*/
+/* unordered list */
+.markItUp .markItUpButton10 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/list-bullet.png");
+}
+/* ordered list */
+.markItUp .markItUpButton11 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/list-numeric.png");
+}
+/* list item */
+.markItUp .markItUpButton12 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/list-item.png");
+}
+/* --- separator ---*/
+/* code */
+.markItUp .markItUpButton13 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/code.png");
+}
+/* quote */
+.markItUp .markItUpButton14 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/quote.png");
+}
+/* hr */
+.markItUp .markItUpButton15 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/hr.png");
+}
+/* --- separator ---*/
+/* left align */
+.markItUp .markItUpButton16 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/left-align.png");
+
+}
+/* center */
+.markItUp .markItUpButton17 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/center.png");
+}
+/* right align */
+.markItUp .markItUpButton18 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/right-align.png");
+}
+/* justify */
+.markItUp .markItUpButton19 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/justify.png");
+}
+/* --- separator ---*/
+/* link */
+.markItUp .markItUpButton20 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/link.png");
+}
+/* email */
+.markItUp .markItUpButton21 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/email.png");
+}
+/* picture */
+.markItUp .markItUpButton22 a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/picture.png");
+}
+/* --- separator ---*/
+/* clean */
+.markItUp .clean a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/clean.png");
+}
+/* preview */
+.markItUp .preview a {
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/sets/mantis/images/preview.png");
+}
+
+/* --- begin colors addon */
+.markItUp .colors ul {
+ width:81px;
+ padding:1px;
+}
+.markItUp .colors li {
+ border:1px solid white;
+ width:25px; height:25px;
+ overflow:hidden;
+ padding:0px; margin:0px;
+ float:left;
+}
+.markItUp .colors ul a {
+ width:25px; height:25px;
+}
+.markItUp .colors ul a:hover {
+ width:25px; height:25px;
+}
+
+.markItUp .colors .col1-1 a {
+ background:yellow;
+}
+.markItUp .colors .col1-2 a {
+ background:orange;
+}
+.markItUp .colors .col1-3 a {
+ background:red;
+}
+
+.markItUp .colors .col2-1 a {
+ background:blue;
+}
+.markItUp .colors .col2-2 a {
+ background:purple;
+}
+.markItUp .colors .col2-3 a {
+ background:green;
+}
+
+.markItUp .colors .col3-1 a {
+ background:white;
+}
+.markItUp .colors .col3-2 a {
+ background:gray;
+}
+.markItUp .colors .col3-3 a {
+ background:black;
+}
/* end colors addon */
\ No newline at end of file
diff --git a/BBCodePlus/files/markitup/skins/mantis/style.css b/BBCodePlus/files/markitup/skins/mantis/style.css
index 627708e..6468778 100644
--- a/BBCodePlus/files/markitup/skins/mantis/style.css
+++ b/BBCodePlus/files/markitup/skins/mantis/style.css
@@ -1,140 +1,140 @@
-/* -------------------------------------------------------------------
-// markItUp! Universal MarkUp Engine, JQuery plugin
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp * {
- margin: 0px; padding: 0px;
- outline: none;
-}
-.markItUp a:link,
-.markItUp a:visited {
- color: #000;
- text-decoration: none;
-}
-.markItUp {
- width: 730px;
- margin: 5px 0 5px 0;
-}
-.markItUpContainer {
- border: 1px solid #3C769D;
- background:#FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/bg-container.png") repeat-x top left;
- padding:5px 5px 2px 5px;
- font: 11px Verdana, Arial, Helvetica, sans-serif;
-}
-
-.markItUpEditor {
- font:12px 'CG Mono', 'Consolas', 'Courier New', Courier, monospace;
- padding: 5px 5px 5px 35px !important;
- border: 3px solid #3C769D;
- width: 667px;
- height: 320px;
- background: #FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/bg-editor.png") no-repeat;
- clear: both;
- line-height: 18px;
- overflow: auto;
-}
-.markItUpPreviewFrame {
- background-color: #FFF;
- width: 99.9%;
- height: 300px;
- margin: 0;
- border: solid 1px #C0C0C0;
- overflow-x: hidden;
- overflow-y: scroll;
-}
-.markItUpFooter {
- width: 100%;
-}
-.markItUpResizeHandle {
- overflow: hidden;
- width: 22px; height: 5px;
- margin-left: auto;
- margin-right: auto;
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/handle.png");
- cursor: n-resize;
-}
-/***************************************************************************************/
-/* first row of buttons */
-.markItUpHeader ul li {
- list-style: none;
- float: left;
- position: relative;
- padding-bottom: 3px;
-}
-.markItUpHeader ul li:hover > ul{
- display: block;
-}
-.markItUpHeader ul .markItUpDropMenu {
- background: transparent url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/menu.png") no-repeat 115% 50%;
- margin-right: 5px;
-}
-.markItUpHeader ul .markItUpDropMenu li {
- margin-right: 0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul {
- display: none;
- position: absolute;
- top: 23px; left: 0px;
- background: #FFF;
- border: 1px solid #c0c0c0;
-}
-.markItUpHeader ul ul li {
- float: none;
- padding-bottom: 0px;
-}
-.markItUpHeader ul ul .markItUpDropMenu {
- background: #FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/submenu.png") no-repeat 100% 50%;
-}
-.markItUpHeader ul .markItUpSeparator {
- margin: 0 10px;
- width: 1px;
- height: 16px;
- overflow: hidden;
- background-color: #CCC;
-}
-.markItUpHeader ul ul .markItUpSeparator {
- width: auto; height: 1px;
- margin: 0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul ul {
- position: absolute;
- top: -1px; left: 150px;
-}
-.markItUpHeader ul ul ul li {
- float: none;
-}
-.markItUpHeader ul a {
- display: block;
- width: 22px; height: 22px;
- text-indent: -10000px;
- background-repeat: no-repeat;
- background-position: center;
- padding: 3px;
- margin: 0px;
- border: solid 1px transparent;
-}
-.markItUpHeader ul a:hover {
- -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
- -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
- box-shadow: inset 0px 1px 0px 0px #ffffff;
- background-color: rgba(255,255,255, 0.5);
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- border: 1px solid #C0C0C0;
-}
-.markItUpHeader ul ul a {
- display: block;
- padding-left: 0px;
- text-indent: 0;
- width: 120px;
- padding:5px 5px 5px 25px;
- background-position: 2px 50%;
- border: solid 1px transparent;
-}
-.markItUpHeader ul ul a:hover {
- background-color: #D2D2D2;
- border: solid 1px #C0C0C0;
+/* -------------------------------------------------------------------
+// markItUp! Universal MarkUp Engine, JQuery plugin
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp * {
+ margin: 0px; padding: 0px;
+ outline: none;
+}
+.markItUp a:link,
+.markItUp a:visited {
+ color: #000;
+ text-decoration: none;
+}
+.markItUp {
+ width: 730px;
+ margin: 5px 0 5px 0;
+}
+.markItUpContainer {
+ border: 1px solid #3C769D;
+ background:#FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/bg-container.png") repeat-x top left;
+ padding:5px 5px 2px 5px;
+ font: 11px Verdana, Arial, Helvetica, sans-serif;
+}
+
+.markItUpEditor {
+ font:12px 'CG Mono', 'Consolas', 'Courier New', Courier, monospace;
+ padding: 5px 5px 5px 35px !important;
+ border: 3px solid #3C769D;
+ width: 667px;
+ height: 320px;
+ background: #FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/bg-editor.png") no-repeat;
+ clear: both;
+ line-height: 18px;
+ overflow: auto;
+}
+.markItUpPreviewFrame {
+ background-color: #FFF;
+ width: 99.9%;
+ height: 300px;
+ margin: 0;
+ border: solid 1px #C0C0C0;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+.markItUpFooter {
+ width: 100%;
+}
+.markItUpResizeHandle {
+ overflow: hidden;
+ width: 22px; height: 5px;
+ margin-left: auto;
+ margin-right: auto;
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/handle.png");
+ cursor: n-resize;
+}
+/***************************************************************************************/
+/* first row of buttons */
+.markItUpHeader ul li {
+ list-style: none;
+ float: left;
+ position: relative;
+ padding-bottom: 3px;
+}
+.markItUpHeader ul li:hover > ul{
+ display: block;
+}
+.markItUpHeader ul .markItUpDropMenu {
+ background: transparent url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/menu.png") no-repeat 115% 50%;
+ margin-right: 5px;
+}
+.markItUpHeader ul .markItUpDropMenu li {
+ margin-right: 0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul {
+ display: none;
+ position: absolute;
+ top: 23px; left: 0px;
+ background: #FFF;
+ border: 1px solid #c0c0c0;
+}
+.markItUpHeader ul ul li {
+ float: none;
+ padding-bottom: 0px;
+}
+.markItUpHeader ul ul .markItUpDropMenu {
+ background: #FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/mantis/images/submenu.png") no-repeat 100% 50%;
+}
+.markItUpHeader ul .markItUpSeparator {
+ margin: 0 10px;
+ width: 1px;
+ height: 16px;
+ overflow: hidden;
+ background-color: #CCC;
+}
+.markItUpHeader ul ul .markItUpSeparator {
+ width: auto; height: 1px;
+ margin: 0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul ul {
+ position: absolute;
+ top: -1px; left: 150px;
+}
+.markItUpHeader ul ul ul li {
+ float: none;
+}
+.markItUpHeader ul a {
+ display: block;
+ width: 22px; height: 22px;
+ text-indent: -10000px;
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 3px;
+ margin: 0px;
+ border: solid 1px transparent;
+}
+.markItUpHeader ul a:hover {
+ -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
+ -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
+ box-shadow: inset 0px 1px 0px 0px #ffffff;
+ background-color: rgba(255,255,255, 0.5);
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+ border: 1px solid #C0C0C0;
+}
+.markItUpHeader ul ul a {
+ display: block;
+ padding-left: 0px;
+ text-indent: 0;
+ width: 120px;
+ padding:5px 5px 5px 25px;
+ background-position: 2px 50%;
+ border: solid 1px transparent;
+}
+.markItUpHeader ul ul a:hover {
+ background-color: #D2D2D2;
+ border: solid 1px #C0C0C0;
}
\ No newline at end of file
diff --git a/BBCodePlus/files/markitup/skins/markitup/style.css b/BBCodePlus/files/markitup/skins/markitup/style.css
index c11c2ea..18f2bbd 100644
--- a/BBCodePlus/files/markitup/skins/markitup/style.css
+++ b/BBCodePlus/files/markitup/skins/markitup/style.css
@@ -1,147 +1,147 @@
-/* -------------------------------------------------------------------
-// markItUp! Universal MarkUp Engine, JQuery plugin
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp * {
- margin:0px; padding:0px;
- outline:none;
-}
-.markItUp a:link,
-.markItUp a:visited {
- color:#000;
- text-decoration:none;
-}
-.markItUp {
- width:700px;
- margin:5px 0 5px 0;
- border:5px solid #F5F5F5;
-}
-.markItUpContainer {
- border:1px solid #3C769D;
- background:#FFF url(images/bg-container.png) repeat-x top left;
- padding:5px 5px 2px 5px;
- font:11px Verdana, Arial, Helvetica, sans-serif;
-}
-.markItUpEditor {
- font:12px 'Courier New', Courier, monospace;
- padding:5px 5px 5px 35px;
- border:3px solid #3C769D;
- width:643px;
- height:320px;
- background:#FFF url(images/bg-editor.png) no-repeat;
- clear:both;
- line-height:18px;
- overflow:auto;
-}
-.markItUpPreviewFrame {
- overflow:auto;
- background-color:#FFFFFF;
- border:1px solid #3C769D;
- width:99.9%;
- height:300px;
- margin:5px 0;
-}
-.markItUpFooter {
- width:100%;
- cursor:n-resize;
-}
-.markItUpResizeHandle {
- overflow:hidden;
- width:22px; height:5px;
- margin-left:auto;
- margin-right:auto;
- background-image:url(images/handle.png);
- cursor:n-resize;
-}
-/***************************************************************************************/
-/* first row of buttons */
-.markItUpHeader ul li {
- list-style:none;
- float:left;
- position:relative;
-}
-.markItUpHeader ul li ul{
- display:none;
-}
-.markItUpHeader ul li:hover > ul{
- display:block;
-}
-.markItUpHeader ul .markItUpDropMenu {
- background:transparent url(images/menu.png) no-repeat 115% 50%;
- margin-right:5px;
-}
-.markItUpHeader ul .markItUpDropMenu li {
- margin-right:0px;
-}
-.markItUpHeader ul .markItUpSeparator {
- margin:0 10px;
- width:1px;
- height:16px;
- overflow:hidden;
- background-color:#CCC;
-}
-.markItUpHeader ul ul .markItUpSeparator {
- width:auto; height:1px;
- margin:0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul {
- display:none;
- position:absolute;
- top:18px; left:0px;
- background:#F5F5F5;
- border:1px solid #3C769D;
- height:inherit;
-}
-.markItUpHeader ul ul li {
- float:none;
- border-bottom:1px solid #3C769D;
-}
-.markItUpHeader ul ul .markItUpDropMenu {
- background:#F5F5F5 url(images/submenu.png) no-repeat 100% 50%;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul ul {
- position:absolute;
- top:-1px; left:150px;
-}
-.markItUpHeader ul ul ul li {
- float:none;
-}
-.markItUpHeader ul a {
- display:block;
- width:16px; height:16px;
- text-indent:-10000px;
- background-repeat:no-repeat;
- padding:3px;
- margin:0px;
-}
-.markItUpHeader ul ul a {
- display:block;
- padding-left:0px;
- text-indent:0;
- width:120px;
- padding:5px 5px 5px 25px;
- background-position:2px 50%;
-}
-.markItUpHeader ul ul a:hover {
- color:#FFF;
- background-color:#3C769D;
-}
-/***************************************************************************************/
-.html .markItUpEditor {
- background-image:url(images/bg-editor-html.png);
-}
-.markdown .markItUpEditor {
- background-image:url(images/bg-editor-markdown.png);
-}
-.textile .markItUpEditor {
- background-image:url(images/bg-editor-textile.png);
-}
-.bbcode .markItUpEditor {
- background-image:url(images/bg-editor-bbcode.png);
-}
-.wiki .markItUpEditor,
-.dotclear .markItUpEditor {
- background-image:url(images/bg-editor-wiki.png);
+/* -------------------------------------------------------------------
+// markItUp! Universal MarkUp Engine, JQuery plugin
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp * {
+ margin:0px; padding:0px;
+ outline:none;
+}
+.markItUp a:link,
+.markItUp a:visited {
+ color:#000;
+ text-decoration:none;
+}
+.markItUp {
+ width:700px;
+ margin:5px 0 5px 0;
+ border:5px solid #F5F5F5;
+}
+.markItUpContainer {
+ border:1px solid #3C769D;
+ background:#FFF url(images/bg-container.png) repeat-x top left;
+ padding:5px 5px 2px 5px;
+ font:11px Verdana, Arial, Helvetica, sans-serif;
+}
+.markItUpEditor {
+ font:12px 'Courier New', Courier, monospace;
+ padding:5px 5px 5px 35px;
+ border:3px solid #3C769D;
+ width:643px;
+ height:320px;
+ background:#FFF url(images/bg-editor.png) no-repeat;
+ clear:both;
+ line-height:18px;
+ overflow:auto;
+}
+.markItUpPreviewFrame {
+ overflow:auto;
+ background-color:#FFFFFF;
+ border:1px solid #3C769D;
+ width:99.9%;
+ height:300px;
+ margin:5px 0;
+}
+.markItUpFooter {
+ width:100%;
+ cursor:n-resize;
+}
+.markItUpResizeHandle {
+ overflow:hidden;
+ width:22px; height:5px;
+ margin-left:auto;
+ margin-right:auto;
+ background-image:url(images/handle.png);
+ cursor:n-resize;
+}
+/***************************************************************************************/
+/* first row of buttons */
+.markItUpHeader ul li {
+ list-style:none;
+ float:left;
+ position:relative;
+}
+.markItUpHeader ul li ul{
+ display:none;
+}
+.markItUpHeader ul li:hover > ul{
+ display:block;
+}
+.markItUpHeader ul .markItUpDropMenu {
+ background:transparent url(images/menu.png) no-repeat 115% 50%;
+ margin-right:5px;
+}
+.markItUpHeader ul .markItUpDropMenu li {
+ margin-right:0px;
+}
+.markItUpHeader ul .markItUpSeparator {
+ margin:0 10px;
+ width:1px;
+ height:16px;
+ overflow:hidden;
+ background-color:#CCC;
+}
+.markItUpHeader ul ul .markItUpSeparator {
+ width:auto; height:1px;
+ margin:0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul {
+ display:none;
+ position:absolute;
+ top:18px; left:0px;
+ background:#F5F5F5;
+ border:1px solid #3C769D;
+ height:inherit;
+}
+.markItUpHeader ul ul li {
+ float:none;
+ border-bottom:1px solid #3C769D;
+}
+.markItUpHeader ul ul .markItUpDropMenu {
+ background:#F5F5F5 url(images/submenu.png) no-repeat 100% 50%;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul ul {
+ position:absolute;
+ top:-1px; left:150px;
+}
+.markItUpHeader ul ul ul li {
+ float:none;
+}
+.markItUpHeader ul a {
+ display:block;
+ width:16px; height:16px;
+ text-indent:-10000px;
+ background-repeat:no-repeat;
+ padding:3px;
+ margin:0px;
+}
+.markItUpHeader ul ul a {
+ display:block;
+ padding-left:0px;
+ text-indent:0;
+ width:120px;
+ padding:5px 5px 5px 25px;
+ background-position:2px 50%;
+}
+.markItUpHeader ul ul a:hover {
+ color:#FFF;
+ background-color:#3C769D;
+}
+/***************************************************************************************/
+.html .markItUpEditor {
+ background-image:url(images/bg-editor-html.png);
+}
+.markdown .markItUpEditor {
+ background-image:url(images/bg-editor-markdown.png);
+}
+.textile .markItUpEditor {
+ background-image:url(images/bg-editor-textile.png);
+}
+.bbcode .markItUpEditor {
+ background-image:url(images/bg-editor-bbcode.png);
+}
+.wiki .markItUpEditor,
+.dotclear .markItUpEditor {
+ background-image:url(images/bg-editor-wiki.png);
}
\ No newline at end of file
diff --git a/BBCodePlus/files/markitup/skins/plain/style.css b/BBCodePlus/files/markitup/skins/plain/style.css
index 4d35905..6edefd5 100644
--- a/BBCodePlus/files/markitup/skins/plain/style.css
+++ b/BBCodePlus/files/markitup/skins/plain/style.css
@@ -1,136 +1,136 @@
-/* -------------------------------------------------------------------
-// markItUp! Universal MarkUp Engine, JQuery plugin
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp * {
- margin: 0px; padding: 0px;
- outline: none;
-}
-.markItUp a:link,
-.markItUp a:visited {
- color: #000;
- text-decoration: none;
-}
-.markItUp {
- width: 730px;
- margin: 5px 0 5px 0;
-}
-.markItUpContainer {
- font: 11px Verdana, Arial, Helvetica, sans-serif;
-}
-.markItUpEditor {
- font: 12px 'CG Mono', 'Consolas', 'Courier New', Courier, monospace;
- padding: 5px 5px 5px 5px;
- border: 1px solid #c0c0c0;
- width: 705px;
- height: 320px;
- clear: both;
- line-height: 18px;
- overflow: auto;
-}
-.markItUpPreviewFrame {
- background-color: #FFF;
- width: 99.9%;
- height: 300px;
- margin: 0;
- border: solid 1px #C0C0C0;
- overflow-x: hidden;
- overflow-y: scroll;
-}
-.markItUpFooter {
- width: 100%;
-}
-.markItUpResizeHandle {
- overflow: hidden;
- width: 22px; height: 5px;
- margin-left: auto;
- margin-right: auto;
- background-image: url("plugin_file.php?file=BBCodePlus/markitup/skins/simple/images/handle.png");
- cursor: n-resize;
-}
-/***************************************************************************************/
-/* first row of buttons */
-.markItUpHeader ul li {
- list-style: none;
- float: left;
- position: relative;
- padding-bottom: 3px;
-}
-.markItUpHeader ul li:hover > ul{
- display: block;
-}
-.markItUpHeader ul .markItUpDropMenu {
- background: transparent url("plugin_file.php?file=BBCodePlus/markitup/skins/simple/images/menu.png") no-repeat 115% 50%;
- margin-right: 5px;
-}
-.markItUpHeader ul .markItUpDropMenu li {
- margin-right: 0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul {
- display: none;
- position: absolute;
- top: 23px; left: 0px;
- background: #FFF;
- border: 1px solid #c0c0c0;
-}
-.markItUpHeader ul ul li {
- float: none;
- padding-bottom: 0px;
-}
-.markItUpHeader ul ul .markItUpDropMenu {
- background: #FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/simple/images/submenu.png") no-repeat 100% 50%;
-}
-.markItUpHeader ul .markItUpSeparator {
- margin: 0 10px;
- width: 1px;
- height: 16px;
- overflow: hidden;
- background-color: #CCC;
-}
-.markItUpHeader ul ul .markItUpSeparator {
- width: auto; height: 1px;
- margin: 0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul ul {
- position: absolute;
- top: -1px; left: 150px;
-}
-.markItUpHeader ul ul ul li {
- float: none;
-}
-.markItUpHeader ul a {
- display: block;
- width: 22px; height: 22px;
- text-indent: -10000px;
- background-repeat: no-repeat;
- background-position: center;
- padding: 3px;
- margin: 0px;
- border: solid 1px transparent;
-}
-.markItUpHeader ul a:hover {
- -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
- -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
- box-shadow: inset 0px 1px 0px 0px #ffffff;
- background-color: rgba(255,255,255, 0.5);
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px;
- border: 1px solid #C0C0C0;
-}
-.markItUpHeader ul ul a {
- display: block;
- padding-left: 0px;
- text-indent: 0;
- width: 120px;
- line-height: 10px;
- padding:5px 5px 5px 25px;
- background-position: 2px 50%;
- border: solid 1px transparent;
-}
-.markItUpHeader ul ul a:hover {
- color: #FFF;
- background-color: #000;
+/* -------------------------------------------------------------------
+// markItUp! Universal MarkUp Engine, JQuery plugin
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp * {
+ margin: 0px; padding: 0px;
+ outline: none;
+}
+.markItUp a:link,
+.markItUp a:visited {
+ color: #000;
+ text-decoration: none;
+}
+.markItUp {
+ width: 730px;
+ margin: 5px 0 5px 0;
+}
+.markItUpContainer {
+ font: 11px Verdana, Arial, Helvetica, sans-serif;
+}
+.markItUpEditor {
+ font: 12px 'CG Mono', 'Consolas', 'Courier New', Courier, monospace;
+ padding: 5px 5px 5px 5px;
+ border: 1px solid #c0c0c0;
+ width: 705px;
+ height: 320px;
+ clear: both;
+ line-height: 18px;
+ overflow: auto;
+}
+.markItUpPreviewFrame {
+ background-color: #FFF;
+ width: 99.9%;
+ height: 300px;
+ margin: 0;
+ border: solid 1px #C0C0C0;
+ overflow-x: hidden;
+ overflow-y: scroll;
+}
+.markItUpFooter {
+ width: 100%;
+}
+.markItUpResizeHandle {
+ overflow: hidden;
+ width: 22px; height: 5px;
+ margin-left: auto;
+ margin-right: auto;
+ background-image: url("plugin_file.php?file=BBCodePlus/markitup/skins/simple/images/handle.png");
+ cursor: n-resize;
+}
+/***************************************************************************************/
+/* first row of buttons */
+.markItUpHeader ul li {
+ list-style: none;
+ float: left;
+ position: relative;
+ padding-bottom: 3px;
+}
+.markItUpHeader ul li:hover > ul{
+ display: block;
+}
+.markItUpHeader ul .markItUpDropMenu {
+ background: transparent url("plugin_file.php?file=BBCodePlus/markitup/skins/simple/images/menu.png") no-repeat 115% 50%;
+ margin-right: 5px;
+}
+.markItUpHeader ul .markItUpDropMenu li {
+ margin-right: 0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul {
+ display: none;
+ position: absolute;
+ top: 23px; left: 0px;
+ background: #FFF;
+ border: 1px solid #c0c0c0;
+}
+.markItUpHeader ul ul li {
+ float: none;
+ padding-bottom: 0px;
+}
+.markItUpHeader ul ul .markItUpDropMenu {
+ background: #FFF url("plugin_file.php?file=BBCodePlus/markitup/skins/simple/images/submenu.png") no-repeat 100% 50%;
+}
+.markItUpHeader ul .markItUpSeparator {
+ margin: 0 10px;
+ width: 1px;
+ height: 16px;
+ overflow: hidden;
+ background-color: #CCC;
+}
+.markItUpHeader ul ul .markItUpSeparator {
+ width: auto; height: 1px;
+ margin: 0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul ul {
+ position: absolute;
+ top: -1px; left: 150px;
+}
+.markItUpHeader ul ul ul li {
+ float: none;
+}
+.markItUpHeader ul a {
+ display: block;
+ width: 22px; height: 22px;
+ text-indent: -10000px;
+ background-repeat: no-repeat;
+ background-position: center;
+ padding: 3px;
+ margin: 0px;
+ border: solid 1px transparent;
+}
+.markItUpHeader ul a:hover {
+ -moz-box-shadow: inset 0px 1px 0px 0px #ffffff;
+ -webkit-box-shadow: inset 0px 1px 0px 0px #ffffff;
+ box-shadow: inset 0px 1px 0px 0px #ffffff;
+ background-color: rgba(255,255,255, 0.5);
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+ border: 1px solid #C0C0C0;
+}
+.markItUpHeader ul ul a {
+ display: block;
+ padding-left: 0px;
+ text-indent: 0;
+ width: 120px;
+ line-height: 10px;
+ padding:5px 5px 5px 25px;
+ background-position: 2px 50%;
+ border: solid 1px transparent;
+}
+.markItUpHeader ul ul a:hover {
+ color: #FFF;
+ background-color: #000;
}
\ No newline at end of file
diff --git a/BBCodePlus/files/markitup/skins/simple/style.css b/BBCodePlus/files/markitup/skins/simple/style.css
index fe3753c..7b2bbc0 100644
--- a/BBCodePlus/files/markitup/skins/simple/style.css
+++ b/BBCodePlus/files/markitup/skins/simple/style.css
@@ -1,118 +1,118 @@
-/* -------------------------------------------------------------------
-// markItUp! Universal MarkUp Engine, JQuery plugin
-// By Jay Salvat - http://markitup.jaysalvat.com/
-// ------------------------------------------------------------------*/
-.markItUp * {
- margin:0px; padding:0px;
- outline:none;
-}
-.markItUp a:link,
-.markItUp a:visited {
- color:#000;
- text-decoration:none;
-}
-.markItUp {
- width:700px;
- margin:5px 0 5px 0;
-}
-.markItUpContainer {
- font:11px Verdana, Arial, Helvetica, sans-serif;
-}
-.markItUpEditor {
- font:12px 'Courier New', Courier, monospace;
- padding:5px;
- width:690px;
- height:320px;
- clear:both;
- line-height:18px;
- overflow:auto;
-}
-.markItUpPreviewFrame {
- overflow:auto;
- background-color:#FFF;
- width:99.9%;
- height:300px;
- margin:5px 0;
-}
-.markItUpFooter {
- width:100%;
-}
-.markItUpResizeHandle {
- overflow:hidden;
- width:22px; height:5px;
- margin-left:auto;
- margin-right:auto;
- background-image:url(images/handle.png);
- cursor:n-resize;
-}
-/***************************************************************************************/
-/* first row of buttons */
-.markItUpHeader ul li {
- list-style:none;
- float:left;
- position:relative;
-}
-.markItUpHeader ul li:hover > ul{
- display:block;
-}
-.markItUpHeader ul .markItUpDropMenu {
- background:transparent url(images/menu.png) no-repeat 115% 50%;
- margin-right:5px;
-}
-.markItUpHeader ul .markItUpDropMenu li {
- margin-right:0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul {
- display:none;
- position:absolute;
- top:18px; left:0px;
- background:#FFF;
- border:1px solid #000;
-}
-.markItUpHeader ul ul li {
- float:none;
- border-bottom:1px solid #000;
-}
-.markItUpHeader ul ul .markItUpDropMenu {
- background:#FFF url(images/submenu.png) no-repeat 100% 50%;
-}
-.markItUpHeader ul .markItUpSeparator {
- margin:0 10px;
- width:1px;
- height:16px;
- overflow:hidden;
- background-color:#CCC;
-}
-.markItUpHeader ul ul .markItUpSeparator {
- width:auto; height:1px;
- margin:0px;
-}
-/* next rows of buttons */
-.markItUpHeader ul ul ul {
- position:absolute;
- top:-1px; left:150px;
-}
-.markItUpHeader ul ul ul li {
- float:none;
-}
-.markItUpHeader ul a {
- display:block;
- width:16px; height:16px;
- text-indent:-10000px;
- background-repeat:no-repeat;
- padding:3px;
- margin:0px;
-}
-.markItUpHeader ul ul a {
- display:block;
- padding-left:0px;
- text-indent:0;
- width:120px;
- padding:5px 5px 5px 25px;
- background-position:2px 50%;
-}
-.markItUpHeader ul ul a:hover {
- color:#FFF;
- background-color:#000;
-}
+/* -------------------------------------------------------------------
+// markItUp! Universal MarkUp Engine, JQuery plugin
+// By Jay Salvat - http://markitup.jaysalvat.com/
+// ------------------------------------------------------------------*/
+.markItUp * {
+ margin:0px; padding:0px;
+ outline:none;
+}
+.markItUp a:link,
+.markItUp a:visited {
+ color:#000;
+ text-decoration:none;
+}
+.markItUp {
+ width:700px;
+ margin:5px 0 5px 0;
+}
+.markItUpContainer {
+ font:11px Verdana, Arial, Helvetica, sans-serif;
+}
+.markItUpEditor {
+ font:12px 'Courier New', Courier, monospace;
+ padding:5px;
+ width:690px;
+ height:320px;
+ clear:both;
+ line-height:18px;
+ overflow:auto;
+}
+.markItUpPreviewFrame {
+ overflow:auto;
+ background-color:#FFF;
+ width:99.9%;
+ height:300px;
+ margin:5px 0;
+}
+.markItUpFooter {
+ width:100%;
+}
+.markItUpResizeHandle {
+ overflow:hidden;
+ width:22px; height:5px;
+ margin-left:auto;
+ margin-right:auto;
+ background-image:url(images/handle.png);
+ cursor:n-resize;
+}
+/***************************************************************************************/
+/* first row of buttons */
+.markItUpHeader ul li {
+ list-style:none;
+ float:left;
+ position:relative;
+}
+.markItUpHeader ul li:hover > ul{
+ display:block;
+}
+.markItUpHeader ul .markItUpDropMenu {
+ background:transparent url(images/menu.png) no-repeat 115% 50%;
+ margin-right:5px;
+}
+.markItUpHeader ul .markItUpDropMenu li {
+ margin-right:0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul {
+ display:none;
+ position:absolute;
+ top:18px; left:0px;
+ background:#FFF;
+ border:1px solid #000;
+}
+.markItUpHeader ul ul li {
+ float:none;
+ border-bottom:1px solid #000;
+}
+.markItUpHeader ul ul .markItUpDropMenu {
+ background:#FFF url(images/submenu.png) no-repeat 100% 50%;
+}
+.markItUpHeader ul .markItUpSeparator {
+ margin:0 10px;
+ width:1px;
+ height:16px;
+ overflow:hidden;
+ background-color:#CCC;
+}
+.markItUpHeader ul ul .markItUpSeparator {
+ width:auto; height:1px;
+ margin:0px;
+}
+/* next rows of buttons */
+.markItUpHeader ul ul ul {
+ position:absolute;
+ top:-1px; left:150px;
+}
+.markItUpHeader ul ul ul li {
+ float:none;
+}
+.markItUpHeader ul a {
+ display:block;
+ width:16px; height:16px;
+ text-indent:-10000px;
+ background-repeat:no-repeat;
+ padding:3px;
+ margin:0px;
+}
+.markItUpHeader ul ul a {
+ display:block;
+ padding-left:0px;
+ text-indent:0;
+ width:120px;
+ padding:5px 5px 5px 25px;
+ background-position:2px 50%;
+}
+.markItUpHeader ul ul a:hover {
+ color:#FFF;
+ background-color:#000;
+}
diff --git a/BBCodePlus/files/markitup/templates/preview.css b/BBCodePlus/files/markitup/templates/preview.css
index ad91a87..550c6b8 100644
--- a/BBCodePlus/files/markitup/templates/preview.css
+++ b/BBCodePlus/files/markitup/templates/preview.css
@@ -1,5 +1,5 @@
-/* preview style examples */
-body {
- background-color:#EFEFEF;
- font:70% Verdana, Arial, Helvetica, sans-serif;
+/* preview style examples */
+body {
+ background-color:#EFEFEF;
+ font:70% Verdana, Arial, Helvetica, sans-serif;
}
\ No newline at end of file
diff --git a/BBCodePlus/files/markitup/templates/preview.html b/BBCodePlus/files/markitup/templates/preview.html
index b8b3702..181f114 100644
--- a/BBCodePlus/files/markitup/templates/preview.html
+++ b/BBCodePlus/files/markitup/templates/preview.html
@@ -1,11 +1,11 @@
-
-
-
-
-markItUp! preview template
-
-
-
-
-
-
+
+
+
+
+markItUp! preview template
+
+
+
+
+
+
diff --git a/BBCodePlus/files/prism/prism.js b/BBCodePlus/files/prism/prism.js
index e4f951f..ef319f5 100644
--- a/BBCodePlus/files/prism/prism.js
+++ b/BBCodePlus/files/prism/prism.js
@@ -1,31 +1,31 @@
-/* http://prismjs.com/download.html?themes=prism&languages=markup+css+clike+javascript+aspnet+bash+c+csharp+cpp+http+java+pascal+perl+php+php-extras+powershell+python+ruby+sql+wiki&plugins=line-highlight+line-numbers+autolinker+file-highlight+show-language+jsonp-highlight+highlight-keywords+remove-initial-line-feed */
-var _self="undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{},Prism=function(){var e=/\blang(?:uage)?-(?!\*)(\w+)\b/i,t=_self.Prism={util:{encode:function(e){return e instanceof n?new n(e.type,t.util.encode(e.content),e.alias):"Array"===t.util.type(e)?e.map(t.util.encode):e.replace(/&/g,"&").replace(/e.length)break e;if(!(d instanceof a)){u.lastIndex=0;var m=u.exec(d);if(m){c&&(f=m[1].length);var y=m.index-1+f,m=m[0].slice(f),v=m.length,k=y+v,b=d.slice(0,y+1),w=d.slice(k+1),N=[p,1];b&&N.push(b);var O=new a(l,g?t.tokenize(m,g):m,h);N.push(O),w&&N.push(w),Array.prototype.splice.apply(r,N)}}}}}return r},hooks:{all:{},add:function(e,n){var a=t.hooks.all;a[e]=a[e]||[],a[e].push(n)},run:function(e,n){var a=t.hooks.all[e];if(a&&a.length)for(var r,i=0;r=a[i++];)r(n)}}},n=t.Token=function(e,t,n){this.type=e,this.content=t,this.alias=n};if(n.stringify=function(e,a,r){if("string"==typeof e)return e;if("Array"===t.util.type(e))return e.map(function(t){return n.stringify(t,a,e)}).join("");var i={type:e.type,content:n.stringify(e.content,a,r),tag:"span",classes:["token",e.type],attributes:{},language:a,parent:r};if("comment"==i.type&&(i.attributes.spellcheck="true"),e.alias){var l="Array"===t.util.type(e.alias)?e.alias:[e.alias];Array.prototype.push.apply(i.classes,l)}t.hooks.run("wrap",i);var o="";for(var s in i.attributes)o+=(o?" ":"")+s+'="'+(i.attributes[s]||"")+'"';return"<"+i.tag+' class="'+i.classes.join(" ")+'" '+o+">"+i.content+""+i.tag+">"},!_self.document)return _self.addEventListener?(_self.addEventListener("message",function(e){var n=JSON.parse(e.data),a=n.language,r=n.code,i=n.immediateClose;_self.postMessage(JSON.stringify(t.util.encode(t.tokenize(r,t.languages[a])))),i&&_self.close()},!1),_self.Prism):_self.Prism;var a=document.getElementsByTagName("script");return a=a[a.length-1],a&&(t.filename=a.src,document.addEventListener&&!a.hasAttribute("data-manual")&&document.addEventListener("DOMContentLoaded",t.highlightAll)),_self.Prism}();"undefined"!=typeof module&&module.exports&&(module.exports=Prism),"undefined"!=typeof global&&(global.Prism=Prism);
-Prism.languages.markup={comment://,prolog:/<\?[\w\W]+?\?>/,doctype://,cdata://i,tag:{pattern:/<\/?[^\s>\/=.]+(?:\s+[^\s>\/=]+(?:=(?:("|')(?:\\\1|\\?(?!\1)[\w\W])*\1|[^\s'">=]+))?)*\s*\/?>/i,inside:{tag:{pattern:/^<\/?[^\s>\/]+/i,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=(?:('|")[\w\W]*?(\1)|[^\s>]+)/i,inside:{punctuation:/[=>"']/}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:/?[\da-z]{1,8};/i},Prism.hooks.add("wrap",function(a){"entity"===a.type&&(a.attributes.title=a.content.replace(/&/,"&"))}),Prism.languages.xml=Prism.languages.markup,Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup;
-Prism.languages.css={comment:/\/\*[\w\W]*?\*\//,atrule:{pattern:/@[\w-]+?.*?(;|(?=\s*\{))/i,inside:{rule:/@[\w-]+/}},url:/url\((?:(["'])(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1|.*?)\)/i,selector:/[^\{\}\s][^\{\};]*?(?=\s*\{)/,string:/("|')(\\(?:\r\n|[\w\W])|(?!\1)[^\\\r\n])*\1/,property:/(\b|\B)[\w-]+(?=\s*:)/i,important:/\B!important\b/i,"function":/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:]/},Prism.languages.css.atrule.inside.rest=Prism.util.clone(Prism.languages.css),Prism.languages.markup&&(Prism.languages.insertBefore("markup","tag",{style:{pattern:/