Skip to content

Commit f735c4a

Browse files
committed
Stable release 1.1
1 parent 55c8524 commit f735c4a

4 files changed

Lines changed: 5 additions & 4 deletions

File tree

pwic_extension.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class PwicExtension():
3131
3232
The behavior of Pwic.wiki is changeable in this file through a logic of events
3333
positioned at critical positions in the code base. It is easier and safer to
34-
implement some changes here but it remains technically sensible.
34+
implement some changes here but it remains technically sensitive.
3535
3636
Each method is always active and generally returns from 0 to 2 results.
3737
The first one usually tells if something happened. The second one provides

pwic_lib.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class PwicConst:
4949
# System
5050
# ========
5151

52-
VERSION = '1.0'
52+
VERSION = '1.1'
5353
DB = './db'
5454
DB_SQLITE = DB + '/pwic.sqlite'
5555
DB_SQLITE_BACKUP = DB + '/pwic_%s.sqlite'
@@ -67,7 +67,7 @@ class PwicConst:
6767
PUBLIC_KEY = 'db/pwic_https.crt'
6868
CHARS_UNSAFE = '\\/:;%*?=&#\'"!<>(){}[]|' # Various signs incompatible with filesystem, HTML, SQL...
6969
MAGIC_OAUTH = 'OAuth'
70-
NOT_PROJECT = ['', 'api', 'special', 'static']
70+
NOT_PROJECT = ['', 'admin', 'api', 'bugs', 'issues', 'special', 'static', 'tracker']
7171

7272
# ========
7373
# Packed

pwic_md.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1599,6 +1599,7 @@ def _do_links(self, text):
15991599
if "smarty-pants" in self.extras:
16001600
result = result.replace('"', self._escape_table['"'])
16011601
curr_pos = start_idx + len(result)
1602+
anchor_allowed_pos = start_idx + len(result)
16021603
text = text[:start_idx] + result + text[url_end_idx:]
16031604
elif start_idx >= anchor_allowed_pos:
16041605
safe_link = self._safe_protocols.match(url) or url.startswith('#')

templates/html/help.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ <h1 id="help_licenses"><a href="#top">{{pwic.emojis.finger_up}}</a> Read the lic
10011001
</tr>
10021002
<tr>
10031003
<td><a href="https://github.com/trentm/python-markdown2">Markdown2</a></td>
1004-
<td>2.4.7 (modified, >=2.3.10)</td>
1004+
<td>2.4.8 (modified, >=2.3.10)</td>
10051005
<td class="pwic_desktop">Library for Python</td>
10061006
<td><a href="https://raw.githubusercontent.com/trentm/python-markdown2/master/LICENSE.txt">MIT License</a></td>
10071007
</tr>

0 commit comments

Comments
 (0)