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

extraneous <h2 id="comment> </h2> appended to articles #45

Closed
ghost opened this issue Oct 4, 2014 · 3 comments
Closed

extraneous <h2 id="comment> </h2> appended to articles #45

ghost opened this issue Oct 4, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2014

From nik.mar...@gmail.com on September 19, 2009 22:50:22

What steps will reproduce the problem? 1. Enable Site Wide Comments (Admin > Preferences > Basic > Accept Comments)
2. Set "On By Default" to No (Admin > Preferences > Basic > Accept Comments)
2. Create a page template with JUST txp:article<txp:body />/txp:article
3. Set a section to use this page
4. Create an article in this section, turning comments OFF
5. Publish Article
6. View source of article.

What is the expected output?
To see my article Text ONLY

What do you see instead?
My article Text + "

"

What version of the product are you using?
Textpattern version: 4.2.0 ( r3275 )

On what operating system?
Centos 5.3 x86_64 Please provide any additional information below. I'm rying to use a stripped down article/section/page to produce linkable text files from Textpattern, for creating custom rss feeds, store javascript
in the DB, etc. if a page template like:
txp:article<txp:body />/txp:article
doesn't deliver exactly and only the body of the article to the browser, then it seems broken.

Original issue: http://code.google.com/p/textpattern/issues/detail?id=41

@ghost ghost added imported labels Oct 4, 2014
@ghost
Copy link
Author

ghost commented Oct 4, 2014

From thebombs...@gmail.com on September 19, 2009 18:17:08

I think that is simply a lack of proper coding in the comments_display form template.
Go to that form and look for the h2 tag then surround it with
txp:if_comments/txp:if_comments tags. Then it won't display unless there are
comments for an article.

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From nik.mar...@gmail.com on September 20, 2009 06:48:42

thebombsite, that worked, thanks. I'm fairly new to TXP, and the docs don't FULLY
describe things like which forms are included based on what settings. This bug may be
against the default config vs. txp itself.

@ghost
Copy link
Author

ghost commented Oct 4, 2014

From r.wetzlmayr on February 03, 2010 12:26:07

Status: WontFix
Owner: r.wetzlmayr

@ghost ghost closed this as completed Oct 4, 2014
This issue was closed.
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

No branches or pull requests

0 participants