Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(yes / no) -> ( yes / no ) in HTML #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Neustradamus
Copy link
Contributor

@Neustradamus Neustradamus commented Jun 12, 2020

For example (1/4), currently:

            text = 'Would you like to cast your votes now? (yes/no)'
            html = ('<p>Would you like to cast your votes now? ('
                    '<a href="xmpp:{0}?message;type=chat;body=yes">yes</a> /'
                    ' <a href="xmpp:{0}?message;type=chat;body=no">no</a>)</p>')

=

            text = 'Would you like to cast your votes now? (yes/no)'
            html = ('<p>Would you like to cast your votes now? (<a href="xmpp:{0}?message;type=chat;body=yes">yes</a> / <a href="xmpp:{0}?message;type=chat;body=no">no</a>)</p>')

After my PR:

            text = 'Would you like to cast your votes now? (yes/no)'
            html = ('<p>Would you like to cast your votes now? ('
                    ' <a href="xmpp:{0}?message;type=chat;body=yes">yes</a> /'
                    ' <a href="xmpp:{0}?message;type=chat;body=no">no</a> )</p>')

=

            text = 'Would you like to cast your votes now? (yes/no)'
            html = ('<p>Would you like to cast your votes now? ( <a href="xmpp:{0}?message;type=chat;body=yes">yes</a> / <a href="xmpp:{0}?message;type=chat;body=no">no</a> )</p>')

Now we have same code for "yes" and "no".

Thanks in advance.

Linked to:

(yes / no) -> ( yes / no ) in HTML
@Ri0n
Copy link

Ri0n commented Jun 13, 2020

I disabled capitalizer in Psi in case of insertions from xmpp uri.
I guess @Neustradamus should be happy now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants