Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
898373c6
Commit
898373c6
authored
Nov 10, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed stx to allow ampersands in urls.
parent
ea4f09f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
lib/python/StructuredText/StructuredText.py
lib/python/StructuredText/StructuredText.py
+6
-3
No files found.
lib/python/StructuredText/StructuredText.py
View file @
898373c6
...
...
@@ -204,7 +204,7 @@ Special symbology is used to indicate special constructs:
</TABLE>
$Id: StructuredText.py,v 1.2
8 2000/11/10 16:51:27
brian Exp $'''
$Id: StructuredText.py,v 1.2
9 2000/11/10 16:55:56
brian Exp $'''
# Copyright
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
...
@@ -256,6 +256,9 @@ $Id: StructuredText.py,v 1.28 2000/11/10 16:51:27 brian Exp $'''
# (540) 371-6909
#
# $Log: StructuredText.py,v $
# Revision 1.29 2000/11/10 16:55:56 brian
# Fixed stx to allow ampersands in urls.
#
# Revision 1.28 2000/11/10 16:51:27 brian
# Fixed a typo in stx
#
...
...
@@ -580,7 +583,7 @@ class StructuredText:
aStructuredString = gsub(
'
\
"
\
([^
\
"
\
0
]
+
\
)
\
":' # title: <"
text
":>
+ ('
\
([-:
a
-zA-Z0-9_,./?=@#~]+%s
\
)
'
+ ('
\
([-:
a
-zA-Z0-9_,./?=@#~
&
]+%s
\
)
'
% not_punctuation_or_whitespace)
+ optional_trailing_punctuation
+ trailing_space,
...
...
@@ -589,7 +592,7 @@ class StructuredText:
aStructuredString = gsub(
'
\
"
\
([^
\
"
\
0
]
+
\
)
\
",[
\
0
- ]+' # title: <"
text
", >
+ ('
\
([
a
-zA-Z]*:[-:a-zA-Z0-9_,./?=@#~]*%s
\
)
'
+ ('
\
([
a
-zA-Z]*:[-:a-zA-Z0-9_,./?=@#~
&
]*%s
\
)
'
% not_punctuation_or_whitespace)
+ optional_trailing_punctuation
+ trailing_space,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment