Displaying 20 results from an estimated 900 matches similar to: "entities and spacing: (em|en)dash and arrow"
2006 Aug 23
0
emdash vs <del>
Hey guys. Is this a bug or what?
>> RedCloth.new("First part -- middle part -- end part.").to_html
=> "<p>First part <del>- middle part -</del> end part.</p>"
But http://textism.com/tools/textile/index.php says the output should
be:
<p>First part—middle part—end part.</p>
Thing is, I *want*
2005 Feb 15
5
date_select where to add "class"=>"something"
Hi,
I''ve looked on api.rubyonrails.org but I''ve not found how to add to a
date_select(object, method, options = {}) a class option to set the
class of all the select tags.
I''ve tried using "class" => "myclass" in thoose ways:
<%= date_select("costo", "data", "class" => "testo" ) %>
<%=
2007 Dec 19
0
Convert all HTML entities within <pre> tags?
Textile 2.0.0:
bc. This is within a block of code, so < and > should be *entities*.
You can talk about a <p> tag if you wish and it will be properly
escaped.
<pre>
You can''t make something actually <b>bold</b> within.
</pre>
Output:
<pre><code>This is within a block of code, so < and > should be
*entities*. You can
2017 Aug 01
0
special latin1 do not print as glyphs in current devel on windows
You seem confused about Latin-1: those characters are not in Latin-1.
(MicroSoft code pages are a proprietary encoding, some code pages such
as CP1252 being extensions to Latin-1.)
You have not given the 'at a minimum information' asked for in the
posting guide so we have no way to reproduce this, and without showing
us the output on your system, we have no idea what you saw.
[As a
2017 Aug 01
3
special latin1 do not print as glyphs in current devel on windows
Upon further inspection, I think these are at least two problems.
First the issue with printing latin1/cp1252 characters in the "80" to "9F"
code range.
x <- c("?", "?", "?")
Encoding(x)
print(x)
I assume that these are Unicode escapes!? (Given that Encoding(x) shows
"latin1" I'd rather expect latin1/cp1252 escapes here, but
2011 Feb 06
1
Psych can't load LaTeX entities file
Hi there,
I wanted to use RedCloth with my RubyOnRails 3 application, but it seems
that RoR uses 1.9.2''s Psych by default as the YAML parser if available,
and Psych fails to load the LaTeX entities file:
====================================================================
#ruby -v: ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-linux]
irb(main):001:0> Dir.pwd
=>
2008 Feb 21
5
Question about entities
1.) What is everyone''s preference on NCRs or character entities?
Textile 2 uses decimal NCRs, so a less-than character becomes <
whereas RedCloth (3.04 and prior) used <. What is your
preference? It gets tough because ' (a straight single quote)
doesn''t have a character entity equivalent.
2.) How do you feel about encoding characters like quotes
2005 Jan 29
4
format question
how can I get a float to always print two decimal places?
Thanks,
Jamie
2007 Dec 11
2
Build issues on Leopard
Hello,
I''m having some issues building r190 on Leopard (10.5.1):
$ rake
(in /Users/johan/temp/superredcloth)
ragel superredcloth_scan.rl | rlgen-cd -G2 -o superredcloth_scan.c
ragel superredcloth_inline.rl | rlgen-cd -G2 -o superredcloth_inline.c
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
extconf.rb
checking for main() in -lc... yes
creating Makefile
make
gcc -I.
2005 Jan 17
5
how to override rails errors messages?
hi,
how can i override rails errors mesages (that are in english) to
display them in an other language?
thanks
hangon
2006 Jun 05
2
Bug in RedCloth or in my head?
Instead of emm-dashes I get struck-out text surrounded with single hyphens. RedCloth
3.0.4:
>> d = RedCloth.new "-- hyphens to the left of me, hyphens to the right, all should be emm
dashes --"
=> "-- hyphens to the left of me, hyphens to the right, all should be emm dashes --"
>> d.to_html
=> "<p><del>- hyphens to the left of me, hyphens
2008 Mar 15
8
Now what?
> $ rake test
> /usr/local/bin/ruby -Ilib:test "/usr/local/lib/ruby/gems/1.8/gems/
> rake-0.7.3/lib/rake/rake_test_loader.rb" "test/test_formatters.rb"
> "test/test_parser.rb"
> Loaded suite /usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/
> rake_test_loader
> Started
>
2014 Nov 21
0
Processed: retitle 770230 to xen: CVE-2014-5146 CVE-2014-5149 CVE-2014-8594 CVE-2014-8595 CVE-2014-9030
Processing commands for control at bugs.debian.org:
> retitle 770230 xen: CVE-2014-5146 CVE-2014-5149 CVE-2014-8594 CVE-2014-8595 CVE-2014-9030
Bug #770230 [src:xen] CVE-2014-5146 CVE-2014-5149 CVE-2014-8594 CVE-2014-8595
Changed Bug title to 'xen: CVE-2014-5146 CVE-2014-5149 CVE-2014-8594 CVE-2014-8595 CVE-2014-9030' from 'CVE-2014-5146 CVE-2014-5149 CVE-2014-8594
2018 Feb 15
6
[Bug 105117] New: desktop freeze playing video nouveau: DATA_ERROR INVALID_BITFIELD
https://bugs.freedesktop.org/show_bug.cgi?id=105117
Bug ID: 105117
Summary: desktop freeze playing video nouveau: DATA_ERROR
INVALID_BITFIELD
Product: xorg
Version: 7.6 (2010.12)
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
2006 May 18
2
Utility to translate HTML character entities into text?
Anyone know of a Ruby utility that will translate HTML character
entities into text?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2007 Apr 26
0
select tag helper and option values with html entities prob.
Hi fellow Rails developers,
I am using option tags with a select form helper. One option values is
containing a special character quoted as html-entity ( ä ). When I
provide the option tags to the select tag helper the ampersand gets
quoted automatically. The result is &auml; which doesn''t look as
expected. Has anybody an idea how to avoid this quoting?
Thanks,
thorsten
2007 Nov 18
0
Escaping html entities with in_place_editor_field
I have a field where a user might need to enter text that includes
greater than and less than signs.
I am using in_place_editor_field, so I need a way to tell it to escape
html entities (convert to > and <) when displaying and NOT
escape html entities (just show the greater than and less than signs)
when editing.
Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You
2015 Sep 24
0
php DOMDocument and entities
This is not CentOS specific but I hope someone here knows so I do not
have to subscribe to another list.
I'm using php DOMDocument to create an XSL that needs a non-breaking
space between two values.
Basically:
$xslvalueof = $dom->createElement('xsl:value-of');
$xslvalueof->setAttribute('select', '../@month');
$caption->appendChild($xslvalueof);
2018 May 18
0
Disconnecting unauthenticated IMAP entities faster?
> On 18 May 2018, at 20.19, David Hubbard <dhubbard at dino.hostasaurus.com> wrote:
>
> Hello, given the 2015 revision date, I was curious if anyone can confirm https://wiki2.dovecot.org/Timeouts is still accurate where the 'before login' IMAP timeout remains hard coded?
>
> We're having an issue where blocks of IP's from China and similar locations are
2010 Sep 12
0
replacing matrix column entities as columns name
I am sending this again as they told me that the data was unreadable, so really
hope that this will work...so sorry all
note: matrix contains a lot of empty entities
Greeting R helpers
I am not familiar with R but I have to use it to analyze data set that I have
(30,000 20,000)
I want to change the structure of the dataset and I am wondering how that might
be possible in R
> Age