Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers. All these things have to be thought about and tested...
Nobody needs HTML e-mails. However, you occasionally might have to write an HTML message for some weird reason. Here is how: Hold the Shift-Key while clicking on "Write...
If you have several submit elements (inputs or buttons with type="submit") that each cause different things to happen (e.g...
A haml angular 1 template with .thing(class="is-{{:: item.type }}") will be compiled (by haml) to which is not what...
This thing leaves any other tag-completion method I have ever seen for HTML in the dust. It's light-years beyond anything else I've witnessed -- and autocompletion is...
You know Firebug as a Firefox extension but there is also a "Lite" version which runs purely off JavaScript.
To have your text input field pre-filled in with some text that disappears as soon as the user selects...
Inspecting the source of an email does not always reveal the plain HTML source, but some encoded byte mess. In order to inspect the HTML anyways, you can use a...
While composing a message, select all (Ctrl + A), then navigate to Insert > HTML on the message window. If you need to inspect a received message, hit "Reply" to...
Awesome hack by Tim VanFosson:
How to remove/disable the automatic XSS protection helper html escaping for Rails 3. This is probably a horrible idea...
A list of FontAwesome icons in the form of copyable Unicode characters or HTML entities. You might prefer to use FontAwesome by simply typing out these characters instead of using...
Since Firefox 8 it is possible to define custom context menus (right clicking) with HTML markup...
...useful not just for upgrading suites from Webrat, but really anywhere you have an HTML fragment or string that you’d like to use Capybara’s matchers on...
Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string...
MailStyle allows you to write the css for your html emails as you normally would, then writes the styles inline when you send your emails. It also makes sure that...
New WYSIWYG editor that claims to be lighter and prettier than TinyMCE and CKEditor. Has some Rails integration, too.
tinyMCE.activeEditor.getContent()
I believe that the current specification of the element is vague because it avoids the question whether the element is...
The same problem happened with address, which was specified to mean only the contact information for the author of a...
We simply convert your design (PSD, PNG, AI, etc.) into a hand coded, pixel perfect and Standards compliant XHTML/CSS. Since...
...When you append a String to a SafeBuffer (by calling + or <<), that other String is HTML-escaped before it is appended to the SafeBuffer: " ".html_safe + " " # => " <bar>"
...your views to it. This means that any <%= expression %> in your view template will be HTML-escaped, unless the expression returns a SafeBuffer, which does not need to be escaped...
...should have an efficient way to do it. Let's say I need this HTML structure: item 1 item 2 This card compares various approaches to fabricating DOM elements for...
...reader it is hard to follow which DOM structure is being created. Parsing a HTML string A very visual method is to embedded a string of HTML into your test...