similar to: generating HTML instead of XHTML

Displaying 20 results from an estimated 8000 matches similar to: "generating HTML instead of XHTML"

2007 May 02
4
Make --html4tags the default?
Seeing how no-one should send application/xhtml+xml to the browser [1], and development of the HTML standard is again happening [2], it would make sense to have Markdown.pl default to HTML tags. Maybe too late to change a default though. How does PHP Markdown and other implementations deal with this issue? [1]: http://www.hixie.ch/advocacy/xhtml [2]:
2006 Jan 29
11
HTML Output plugin
I have written a very small Rails plugin which makes it spit HTML back at you instead of XHTML. Find details here: http://dev.turnipspatch.com/trac/wiki/HTMLOutput Hope it''s useful to someone! Jon -- Posted via http://www.ruby-forum.com/.
2006 Apr 28
8
Effects fully display before effect
Why do effects that display an element (like Appear or Slide Down) start by displaying the element for a split second and then make the element disappear? _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 05
7
whatever happend to unobtrusive javascript in Rails ?
Don''t get me wrong, JavaScript/Ajax helpers in Rails are a huge timesaver and they have helped me to finally overcome my irrational aversion to js libraries like prototype and such. However, all this goodness seems to come at quiet a price. The resulting code is littered with inline JS, including ubiquitous script tags and onload attributes etc.. It seems that just when i found
2005 Mar 31
5
Outputting XHTML strict
I''m trying to get a page to validate as XHTML Strict, and I''ve gotten everything fixed except for one <textarea> that Rails is generating. <textarea cols="40" id="estcomment_comment" name="estcomment[comment]" rows="10" wrap="virtual"></textarea> This tag is being called in my view with <%=
2006 Jul 14
6
Using RoR to produce .xhtml files
How can I manipulate RoR to produce an .xhtml file from the view template(s)? I see how I can use layouts and paritals to efficiently produce the content and tags that I need, but how can I get the actual file that''s produced to be named with the .xhtml suffix, (rather than *.htm, as it currently is)? [Note: I never thought the suffix was all that important, but evidenly Mozilla
2006 Apr 25
8
Does Rails suppports XHTML for views for inline SVG''s?
I have following piece of code(which when saved in a file with .xhtml extension and opened in Mozilla 1.5.0.2 works fine); <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg"> <head> <title>SVG within XHTML Demo</title> </head> <body> <p> You can embed SVG into XHTML, provided that your
2005 Nov 08
2
Scriptaculous insertion fails when XHTML Strict used in FireFox
Hi ! I'm getting an uncaught exception requiring the Scriptaculous libraries when everything says XHTML 1.0 Strict: class ApplicationController < ActionController::Base before_filter :set_content_type protected def set_content_type response.headers['Content-Type'] = 'application/xhtml+xml; charset=ISO-8859-1' end end <?xml version="1.0"
2006 May 11
1
Doctype -- utf-8 -- html vs xhtml
I was simply trying to write the DOCTYPE line at the top for UTF-8 and got confused. What doctype do I use with rails for utf-8 files? If I put in all the damn closing tags on paragraphs and hr and br and all that will the stuff pass xhml inspection, or will rails insert something I haven'' yet noticed. Warren -------------- next part -------------- An HTML attachment was
2005 Oct 28
6
InPlaceEditor: XHTML validation
It''s not a critical bug by any means, but shouldn''t InPlaceEditor put DIV tags around the INPUT field? From what I can tell on the W3C validator, INPUT has to be in a block-level tag for XHTML. Of course, there are probably a zillion other things that wouldn''t validate, but every little step helps... Corollary question: Anyone know how to see what contexts a tag
2008 Mar 14
1
Markdown doesn't always generate XHTML
Hello everybody, I've just noticed that markdown doesn't always generate XHTML. In particular the input <script src="http://evilserver.net/evil.js"> generates the output: <p><script src="http://evilserver.net/evil.js"></p> (This is the markdown dingus at daring fireball, and the markdownj implementation exhibits the same problem. I
2006 Jul 22
2
XHTML validation for functional tests
Hi, Is there anyway to validate XHTML during functional tests? Thank you, Jean-Etienne -- Posted via http://www.ruby-forum.com/.
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown implementation: > The "&" are escaped in URLs. > > An example: > [Link](http://www.site.com/?param1=value1&param2=value1) > > Should output: > <a href="http://www.site.com/?param1=value1&param2=value1">Link</a> > > Currently outputs: > <a
2006 Jan 18
4
That ol'' AJAX select box update again : observe_field does nothing
Hi, I know this has been asked a million times before - but I still don''t really get it. CAn someone please tell me what''s up with the following; In a view I have (apologies for the formatting); <td> <select id="job.job_phase_id" name="job[job_phase_id]"><p><label for="job_job_phase_id">Job
2008 Jan 31
3
Handling multiple Check boxes in a XHTML Strict way
Hi, The default way we handle an array of checkboxes is like this: <% items.each do |item| %> <%= check_box_tag ''item[]'', "#{item.id}" %> <% end -%> this returns an array item[] that holds the ids of all the items. Now the real issue: 1. The above loop will same ids to ''n'' items 2. All ids will be ''item[]''
2008 Mar 12
5
XHTML validation
Is the dashboard output of 1.2.1 supposed to validate (I get numerous failures)? I''m seeing some issues that I hadn''t been running into before my upgrade. The first time I load the dashboard I''m seeing a blank area at the top and first button isn''t styled. When the refresh triggers the all of the projects except the first are duplicated and the
2006 Feb 27
12
RedCloth
Is this the prefered method to implement RedCloth in your views. I''m trying to display user input that will sometimes have code references in it. This strips out all tags. I would like for the tags to be displayed but not read as html. Thanks in advance! <%= RedCloth.new(strip_tags(comment.comment),[:filter_html]).to_html %> charlie bowman recentrambles.com -- Posted via
2010 Apr 22
1
Offending Line Break
I recently upgraded to build 2448. After doing so I noticed the "Statistics" and "Settings" buttons associated with the GUI interface no longer aligned correctly on the Index Page. A review of the header.html code revealed an offending <br> on line 18. Removing the <br> corrected the alignment problem. The old code read as; <table
2006 Jan 25
1
xx-0.1.0 : xhtml and xml make it twice as dirty
NAME xx - twice as dirty SYNOPSIS ~ > gem install "double x" require "xx" include XX::XHTML doc = xhtml_{ html_{ head_{ title_{ " go xx! " } } body_{ " one more and it would be illegal " } } } URI http://rubyforge.org/frs/?group_id=1024 DESCRIPTION xx is a library designed to extend ruby objects
2011 Jan 05
1
e-pub or downloadable xhtml of the manuals?
http://samba.org/samba/docs/man/Samba-HOWTO-Collection/ This document has provided more information to me than I can adequately express, and as masochistic as it sounds, I'd kinda like to pop a copy on my nook and devour it. along with any of the other docs hosted on the samba website. has anyone prepared epubs of the documentation? if not epubs, than at least xhtml files in a zip