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
2c15c9ad
Commit
2c15c9ad
authored
Mar 14, 2000
by
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow ~ in hrefs.
parent
d0187e93
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 @
2c15c9ad
...
@@ -204,7 +204,7 @@ Special symbology is used to indicate special constructs:
...
@@ -204,7 +204,7 @@ Special symbology is used to indicate special constructs:
</TABLE>
</TABLE>
$Id: StructuredText.py,v 1.2
5 2000/02/17 00:53:24 klm
Exp $'''
$Id: StructuredText.py,v 1.2
6 2000/03/14 17:22:04 brian
Exp $'''
# Copyright
# Copyright
#
#
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
# Copyright 1996 Digital Creations, L.C., 910 Princess Anne
...
@@ -256,6 +256,9 @@ $Id: StructuredText.py,v 1.25 2000/02/17 00:53:24 klm Exp $'''
...
@@ -256,6 +256,9 @@ $Id: StructuredText.py,v 1.25 2000/02/17 00:53:24 klm Exp $'''
# (540) 371-6909
# (540) 371-6909
#
#
# $Log: StructuredText.py,v $
# $Log: StructuredText.py,v $
# Revision 1.26 2000/03/14 17:22:04 brian
# Allow ~ in hrefs.
#
# Revision 1.25 2000/02/17 00:53:24 klm
# Revision 1.25 2000/02/17 00:53:24 klm
# HTML._str(): We were getting preformatted examples rendered twice,
# HTML._str(): We were getting preformatted examples rendered twice,
# second time without preformatting. Problem was a missing 'continue'
# second time without preformatting. Problem was a missing 'continue'
...
@@ -571,7 +574,7 @@ class StructuredText:
...
@@ -571,7 +574,7 @@ class StructuredText:
aStructuredString = gsub(
aStructuredString = gsub(
'
\
"
\
([^
\
"
\
0
]
+
\
)
\
":' # title: <"
text
":>
'
\
"
\
([^
\
"
\
0
]
+
\
)
\
":' # title: <"
text
":>
+ ('
\
([-:
a
-zA-Z0-9_,./?=@#]+%s
\
)
'
+ ('
\
([-:
a
-zA-Z0-9_,./?=@#
~
]+%s
\
)
'
% not_punctuation_or_whitespace)
% not_punctuation_or_whitespace)
+ optional_trailing_punctuation
+ optional_trailing_punctuation
+ trailing_space,
+ trailing_space,
...
@@ -580,7 +583,7 @@ class StructuredText:
...
@@ -580,7 +583,7 @@ class StructuredText:
aStructuredString = gsub(
aStructuredString = gsub(
'
\
"
\
([^
\
"
\
0
]
+
\
)
\
",[
\
0
- ]+' # title: <"
text
", >
'
\
"
\
([^
\
"
\
0
]
+
\
)
\
",[
\
0
- ]+' # title: <"
text
", >
+ ('
\
([
a
-zA-Z]*:[-:a-zA-Z0-9_,./?=@#]*%s
\
)
'
+ ('
\
([
a
-zA-Z]*:[-:a-zA-Z0-9_,./?=@#
~
]*%s
\
)
'
% not_punctuation_or_whitespace)
% not_punctuation_or_whitespace)
+ optional_trailing_punctuation
+ optional_trailing_punctuation
+ trailing_space,
+ 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