Skip to content

Conversation

alyip98
Copy link
Contributor

@alyip98 alyip98 commented Jun 4, 2019

What is the purpose of this pull request? (put "X" next to an item, remove the rest)
• [x] Bug fix

Fixes #569

Related PR on vue-strap

What is the rationale for this request?
Remove extra space after tool-tipped text

What changes did you make? (Give an overview)
Remove newline character in Vue template which was being parsed as an extra space

Provide some example code that this change will affect:

<tooltip>hello</tooltip>, world

There should no longer be a space between 'hello' and ',' in the rendered HTML.

Testing instructions:
Check whether testTooltipSpacing.html demonstrates the correct behavior.

Proposed commit message: (wrap lines at 72 characters)
Currently, there is a bug where an extra space appears after text
wrapped in a tooltip tag.

Let's fix that by removing the extra space in the Vue template.

Chng-Zhi-Xuan
Chng-Zhi-Xuan previously approved these changes Jun 7, 2019
Copy link
Contributor

@Chng-Zhi-Xuan Chng-Zhi-Xuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Creating tests is good for checking if a bug has been fixed, or if a new enhancement / feature is working well.

Creating a test for a small bug seems a little overkill. But I appreciate the thorough testing. We might need to clean up the test_site folder soon as it is getting quite cluttered ...

@Chng-Zhi-Xuan Chng-Zhi-Xuan dismissed their stale review June 7, 2019 06:24

Conflicting files

Copy link
Contributor

@Chng-Zhi-Xuan Chng-Zhi-Xuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more thing, rebase this PR to latest upstream/master to resolve conflicting files.

Currently, there is a bug where an extra space appears after text
wrapped in a `tooltip` tag.

Let's fix that by removing the extra space
@Chng-Zhi-Xuan Chng-Zhi-Xuan merged commit 58b2338 into MarkBind:master Jun 11, 2019
@Chng-Zhi-Xuan Chng-Zhi-Xuan added this to the v2.5.2 milestone Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stray space after tool-tipped text
2 participants