diff --git a/README.md b/README.md
index 19ff1d97..d4cacb04 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
- SVG-edit
+ SVG-edit
===
SVG-edit is a fast, web-based, javascript-driven SVG drawing editor that works in any modern browser.
@@ -17,10 +17,10 @@ SVG-edit is a fast, web-based, javascript-driven SVG drawing editor that works i
## Videos
- * [SVG-edit 2.4 Part 1](http://www.youtube.com/watch?v=zpC7b1ZJvvM)
- * [SVG-edit 2.4 Part 2](http://www.youtube.com/watch?v=mDzZEoGUDe8)
- * [SVG-edit 2.3 Features](http://www.youtube.com/watch?v=RVIcIy5fXOc)
- * [Introduction to SVG-edit](http://www.youtube.com/watch?v=ZJKmEI06YiY) (Version 2.2)
+ * [SVG-edit 2.4 Part 1](https://www.youtube.com/watch?v=zpC7b1ZJvvM)
+ * [SVG-edit 2.4 Part 2](https://www.youtube.com/watch?v=mDzZEoGUDe8)
+ * [SVG-edit 2.3 Features](https://www.youtube.com/watch?v=RVIcIy5fXOc)
+ * [Introduction to SVG-edit](https://www.youtube.com/watch?v=ZJKmEI06YiY) (Version 2.2)
## Supported browsers
@@ -36,6 +36,6 @@ The following browsers had been tested for 2.6 or earlier and will probably cont
* See [docs](docs/) for more documentation.
* [Acknowledgements](docs/Acknowledgements.md) lists open source projects used in svg-edit.
* See [AUTHORS](AUTHORS) file for authors.
- * [Stackoverflow](http://stackoverflow.com/tags/svg-edit) group.
+ * [Stackoverflow](https://stackoverflow.com/tags/svg-edit) group.
* Join the [svg-edit mailing list](https://groups.google.com/forum/#!forum/svg-edit).
- * Join us on `#svg-edit` on `freenode.net` (or use the [web client](http://webchat.freenode.net/?channels=svg-edit)).
+ * Join us on `#svg-edit` on `freenode.net` (or use the [web client](https://webchat.freenode.net/?channels=svg-edit)).
diff --git a/docs/Acknowledgements.md b/docs/Acknowledgements.md
index 77f75f72..7380d2fd 100644
--- a/docs/Acknowledgements.md
+++ b/docs/Acknowledgements.md
@@ -18,7 +18,7 @@ Gabe Lerner's excellent [canvg](https://github.com/gabelerner/canvg) library has
## jQuery UI
-We use [jQuery-UI](http://jqueryui.com) for making the dialog boxes (color picker, document properties) draggable, as well as for the opacity slider.
+We use [jQuery-UI](https://jqueryui.com) for making the dialog boxes (color picker, document properties) draggable, as well as for the opacity slider.
## js-hotkeys
diff --git a/docs/SvgCanvas.md b/docs/SvgCanvas.md
index 331ef47e..fb64230e 100644
--- a/docs/SvgCanvas.md
+++ b/docs/SvgCanvas.md
@@ -20,7 +20,7 @@ Function | Description
[`Utils.convertToXMLReferences`](#utilsconverttoxmlreferences) | Converts a string to use XML references
[`rectsIntersect`](#rectsintersect) | Check if two rectangles (BBoxes objects) intersect each other
[`snapToAngle`](#snaptoangle) | Returns a 45 degree angle coordinate associated with the two given coordinates
-[`text2xml`](#text2xml) | Cross-browser compatible method of converting a string to an XML tree found this function [here](http://groups.google.com/group/jquery-dev/browse_thread/thread/c6d11387c580a77f)
+[`text2xml`](#text2xml) | Cross-browser compatible method of converting a string to an XML tree found this function [here](https://groups.google.com/group/jquery-dev/browse_thread/thread/c6d11387c580a77f)
### Unit conversion functions
@@ -330,7 +330,7 @@ Object with the following values: x - The angle-snapped x value y - The angle-sn
"text2xml": function(sXML)
-Cross-browser compatible method of converting a string to an XML tree found this function [here](http://groups.google.com/group/jquery-dev/browse_thread/thread/c6d11387c580a77f)
+Cross-browser compatible method of converting a string to an XML tree found this function [here](https://groups.google.com/group/jquery-dev/browse_thread/thread/c6d11387c580a77f)
# Unit conversion functions
@@ -1864,7 +1864,7 @@ Sets the new segment type to the selected segment(s).
#### Parameters
-* `new_type` Integer with the new segment type See http://www.w3.org/TR/SVG/paths.html#InterfaceSVGPathSeg for list
+* `new_type` Integer with the new segment type See https://www.w3.org/TR/SVG/paths.html#InterfaceSVGPathSeg for list
## `convertToPath`
diff --git a/editor/browser.js b/editor/browser.js
index 04a484a5..6ab5263e 100644
--- a/editor/browser.js
+++ b/editor/browser.js
@@ -135,7 +135,7 @@ var supportsGoodDecimals_ = (function () {
var retValue = (crect.getAttribute('x').indexOf(',') === -1);
if (!retValue) {
$.alert('NOTE: This version of Opera is known to contain bugs in SVG-edit.\n' +
- 'Please upgrade to the latest version in which the problems have been fixed.');
+ 'Please upgrade to the latest version in which the problems have been fixed.');
}
return retValue;
}());
diff --git a/editor/canvg/canvg.js b/editor/canvg/canvg.js
index 359ab28b..b612470d 100644
--- a/editor/canvg/canvg.js
+++ b/editor/canvg/canvg.js
@@ -6,7 +6,7 @@
* Gabe Lerner (gabelerner@gmail.com)
* http://code.google.com/p/canvg/
*
- * Requires: rgbcolor.js - http://www.phpied.com/rgb-color-parser-in-javascript/
+ * Requires: rgbcolor.js - https://www.phpied.com/rgb-color-parser-in-javascript/
*/
var canvg;
(function () {
@@ -608,7 +608,7 @@ function build (opts) {
// aspect ratio
svg.AspectRatio = function (ctx, aspectRatio, width, desiredWidth, height, desiredHeight, minX, minY, refX, refY) {
- // aspect ratio - http://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute
+ // aspect ratio - https://www.w3.org/TR/SVG/coords.html#PreserveAspectRatioAttribute
aspectRatio = svg.compressSpaces(aspectRatio);
aspectRatio = aspectRatio.replace(/^defer\s/, ''); // ignore defer
var align = aspectRatio.split(' ')[0] || 'xMidYMid';
@@ -1213,7 +1213,7 @@ function build (opts) {
this.base(node);
var d = this.attribute('d').value;
- // TODO: convert to real lexer based on http://www.w3.org/TR/SVG11/paths.html#PathDataBNF
+ // TODO: convert to real lexer based on https://www.w3.org/TR/SVG11/paths.html#PathDataBNF
d = d.replace(/,/gm, ' '); // get rid of all commas
d = d.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm, '$1 $2'); // separate commands from commands
d = d.replace(/([MmZzLlHhVvCcSsQqTtAa])([MmZzLlHhVvCcSsQqTtAa])/gm, '$1 $2'); // separate commands from commands
@@ -2432,7 +2432,7 @@ function build (opts) {
if (element != null) {
var tempSvg = element;
if (element.type === 'symbol') {
- // render me using a temporary svg element in symbol cases (http://www.w3.org/TR/SVG/struct.html#UseElement)
+ // render me using a temporary svg element in symbol cases (https://www.w3.org/TR/SVG/struct.html#UseElement)
tempSvg = new svg.Element.svg();
tempSvg.type = 'svg';
tempSvg.attributes['viewBox'] = new svg.Property('viewBox', element.attribute('viewBox').value);
@@ -2610,7 +2610,7 @@ function build (opts) {
this.base(node);
var matrix = svg.ToNumberArray(this.attribute('values').value);
- switch (this.attribute('type').valueOrDefault('matrix')) { // http://www.w3.org/TR/SVG/filters.html#feColorMatrixElement
+ switch (this.attribute('type').valueOrDefault('matrix')) { // https://www.w3.org/TR/SVG/filters.html#feColorMatrixElement
case 'saturate':
var s = matrix[0];
matrix = [
diff --git a/editor/canvg/rgbcolor.js b/editor/canvg/rgbcolor.js
index f902e112..2ab6b108 100644
--- a/editor/canvg/rgbcolor.js
+++ b/editor/canvg/rgbcolor.js
@@ -2,7 +2,7 @@
/**
* A class to parse color values
* @author Stoyan Stefanov
- * @link http://www.phpied.com/rgb-color-parser-in-javascript/
+ * @link https://www.phpied.com/rgb-color-parser-in-javascript/
* @license Use it if you like it
*/
function RGBColor (colorString) { // eslint-disable-line no-unused-vars
diff --git a/editor/contextmenu/jquery.contextMenu.js b/editor/contextmenu/jquery.contextMenu.js
index 2dc92679..9eb9fa39 100755
--- a/editor/contextmenu/jquery.contextMenu.js
+++ b/editor/contextmenu/jquery.contextMenu.js
@@ -5,10 +5,10 @@
// Version 1.01
//
// Cory S.N. LaViska
-// A Beautiful Site (http://abeautifulsite.net/)
+// A Beautiful Site (https://abeautifulsite.net/)
// Modified by Alexis Deveria
//
-// More info: http://abeautifulsite.net/2008/09/jquery-context-menu-plugin/
+// More info: https://abeautifulsite.net/2008/09/jquery-context-menu-plugin/
//
// Terms of Use
//
diff --git a/editor/extensions/ext-mathjax.js b/editor/extensions/ext-mathjax.js
index 7ab5ff6a..2a35905c 100644
--- a/editor/extensions/ext-mathjax.js
+++ b/editor/extensions/ext-mathjax.js
@@ -139,7 +139,7 @@ svgEditor.addExtension('mathjax', function () {
'' +
'' +
+ 'TeX code.' +
'' +
'' +
'' +
diff --git a/editor/extensions/filesave.php b/editor/extensions/filesave.php
index 22d2826a..41b2d260 100644
--- a/editor/extensions/filesave.php
+++ b/editor/extensions/filesave.php
@@ -10,7 +10,7 @@
*/
function encodeRFC5987ValueChars ($str) {
- // See http://tools.ietf.org/html/rfc5987#section-3.2.1
+ // See https://tools.ietf.org/html/rfc5987#section-3.2.1
// For better readability within headers, add back the characters escaped by rawurlencode but still allowable
// Although RFC3986 reserves "!" (%21), RFC5987 does not
return preg_replace_callback('@%(2[1346B]|5E|60|7C)@', function ($matches) {
@@ -47,7 +47,7 @@ if ($suffix == '.svg') {
header('Cache-Control: public');
header('Content-Description: File Transfer');
-// See http://tools.ietf.org/html/rfc6266#section-4.1
+// See https://tools.ietf.org/html/rfc6266#section-4.1
header("Content-Disposition: attachment; filename*=UTF-8''" . encodeRFC5987ValueChars(
// preg_replace('@[\\\\/:*?"<>|]@', '', $file) // If we wanted to strip Windows-disallowed characters server-side (but not a security issue, so we can strip client-side instead)
$file
diff --git a/editor/extensions/imagelib/index.html b/editor/extensions/imagelib/index.html
index 90388af4..7da0b3ae 100644
--- a/editor/extensions/imagelib/index.html
+++ b/editor/extensions/imagelib/index.html
@@ -4,7 +4,7 @@
-
-
+
diff --git a/editor/images/svg_edit_icons.svg b/editor/images/svg_edit_icons.svg
index 4a19e2e9..c75858be 100644
--- a/editor/images/svg_edit_icons.svg
+++ b/editor/images/svg_edit_icons.svg
@@ -454,7 +454,7 @@
-
+