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

Different results between a template and an output in same browsers #4

Closed
jfut opened this issue Jul 30, 2013 · 2 comments
Closed

Different results between a template and an output in same browsers #4

jfut opened this issue Jul 30, 2013 · 2 comments
Assignees
Labels
bug

Comments

@jfut
Copy link
Contributor

@jfut jfut commented Jul 30, 2013

Mixer2Engine.saveToString(tag) add a new line for every tags, so I'm getting different results between a template and an output in same browsers.

template code:

<p><a href="link1">link1</a><a href="link2">link2</a></p>

screenshot:

a_newline_before

output:

<p>
<a href="link1">link1</a>
<a href="link2">link2</a>
</p>

screenshot:

a_newline_after

zero template example:

List<Object> aList = new ArrayList<Object>();
for (int i = 0; i < 2; i++) {
    A linkA = TagCreator.a();
    linkA.getContent().add("link" + i);
    linkA.setHref("link" + i);
    aList.add(linkA);
}
P p = TagCreator.p();
p.getContent().addAll(aList);

screenshot(same result):

a_newline_after

@ghost ghost assigned nabedge Jul 30, 2013
nabedge added a commit that referenced this issue Jul 30, 2013
@nabedge
Copy link
Owner

@nabedge nabedge commented Jul 30, 2013

try SNAPSHOT version...
see http://mixer2.org/site/download.html

っていうか、日本語でもいいっすよ。

@jfut
Copy link
Contributor Author

@jfut jfut commented Jul 30, 2013

SNAPSHOT version で意図した表示になることを確認しました。
素早い対応ありがとうございます。

@jfut jfut closed this Jul 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants