Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(302)

Issue 10782043: Fixes image markup for ReST alongwith the resize markup

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 10 months ago by sharky93
Modified:
10 years, 10 months ago
Reviewers:
TheSheep
Visibility:
Public.

Description

Fixes image markup for ReST alongwith the resize markup

Patch Set 1 #

Total comments: 6

Patch Set 2 : Improved changes #

Total comments: 1

Patch Set 3 : Use of html ns, scale, align added #

Total comments: 1

Patch Set 4 : Added TODO, more improvements. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -15 lines) Patch
M MoinMoin/converter/rst_in.py View 1 2 3 3 chunks +26 lines, -15 lines 0 comments Download

Messages

Total messages: 6
TheSheep
https://codereview.appspot.com/10782043/diff/1/MoinMoin/converter/rst_in.py File MoinMoin/converter/rst_in.py (right): https://codereview.appspot.com/10782043/diff/1/MoinMoin/converter/rst_in.py#newcode342 MoinMoin/converter/rst_in.py:342: attr[name] = node.get(keyword) if node.get(keyword) else None attr[name] = ...
10 years, 10 months ago (2013-06-29 10:48:51 UTC) #1
sharky93
https://codereview.appspot.com/10782043/diff/1/MoinMoin/converter/rst_in.py File MoinMoin/converter/rst_in.py (right): https://codereview.appspot.com/10782043/diff/1/MoinMoin/converter/rst_in.py#newcode352 MoinMoin/converter/rst_in.py:352: query = url_encode(query_keys, charset=CHARSET, encode_keys=True) i dont understand ? ...
10 years, 10 months ago (2013-06-29 11:06:20 UTC) #2
TheSheep
https://codereview.appspot.com/10782043/diff/1/MoinMoin/converter/rst_in.py File MoinMoin/converter/rst_in.py (right): https://codereview.appspot.com/10782043/diff/1/MoinMoin/converter/rst_in.py#newcode352 MoinMoin/converter/rst_in.py:352: query = url_encode(query_keys, charset=CHARSET, encode_keys=True) if url.scheme is None: ...
10 years, 10 months ago (2013-06-29 11:11:30 UTC) #3
TheSheep
https://codereview.appspot.com/10782043/diff/9001/MoinMoin/converter/rst_in.py File MoinMoin/converter/rst_in.py (right): https://codereview.appspot.com/10782043/diff/9001/MoinMoin/converter/rst_in.py#newcode350 MoinMoin/converter/rst_in.py:350: query_keys = url_decode(url.query) query_keys = url_decode(url.query or '') and ...
10 years, 10 months ago (2013-06-29 11:37:42 UTC) #4
sharky93
Doubts with the 'scale' attribute https://codereview.appspot.com/10782043/diff/14001/MoinMoin/converter/rst_in.py File MoinMoin/converter/rst_in.py (right): https://codereview.appspot.com/10782043/diff/14001/MoinMoin/converter/rst_in.py#newcode335 MoinMoin/converter/rst_in.py:335: whitelist = ['width', 'height', ...
10 years, 10 months ago (2013-06-30 07:55:05 UTC) #5
TheSheep
10 years, 10 months ago (2013-06-30 18:22:24 UTC) #6
https://codereview.appspot.com/10782043/diff/21001/MoinMoin/converter/rst_in.py
File MoinMoin/converter/rst_in.py (right):

https://codereview.appspot.com/10782043/diff/21001/MoinMoin/converter/rst_in....
MoinMoin/converter/rst_in.py:342: if scalingfactor:
if node.get('scale'):
    scaling_factor = node.get('scale') / 100.0
    for key in ('width', 'height'):
        if attr[html(key)]:
            attr[html(key)] *= scaling_factor
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b