Skip to content

Markup fixes #832

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

Merged
merged 16 commits into from
Sep 22, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions _layouts/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<div class="post">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>

<p>
{{ post.excerpt | markdownify }}
</p>

<p class="post-link"><a href="{{ post.url }}">{{ locales.continue }}</a></p>

Expand Down
2 changes: 0 additions & 2 deletions _layouts/news_archive_month.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<div class="post">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>

<p>
{{ post.excerpt | markdownify }}
</p>

<p class="post-link"><a href="{{ post.url }}">{{ locales.continue }}</a></p>

Expand Down
2 changes: 0 additions & 2 deletions _layouts/news_archive_year.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
<div class="post">
<h3><a href="{{ post.url }}">{{ post.title }}</a></h3>

<p>
{{ post.excerpt | markdownify }}
</p>

<p class="post-link"><a href="{{ post.url }}">{{ locales.continue }}</a></p>

Expand Down
2 changes: 1 addition & 1 deletion bg/documentation/ruby-from-other-languages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ end

### Достъп до метод

В Ruby `private` се изпозлзва за модификатор за достъп, който прави методите достъпни, когато се викат без explicit receiver. В този случай Само **self** е receiver на извикването на private метод. Към `protected` трябва да се подхожда с внимание. protected метод може да бъде извикан от клас или инстанция на наследен клас, но също така и с друга инстанции като receiver. Пример, взет от [Ruby FAQ](http://faq.rubygarden.org/entry/show/57?controller\_prefix=faq%2F):
В Ruby `private` се изпозлзва за модификатор за достъп, който прави методите достъпни, когато се викат без explicit receiver. В този случай Само **self** е receiver на извикването на private метод. Към `protected` трябва да се подхожда с внимание. protected метод може да бъде извикан от клас или инстанция на наследен клас, но също така и с друга инстанции като receiver. Пример, взет от [Ruby FAQ](http://faq.rubygarden.org/entry/show/57?controller_prefix=faq%2F):

{% highlight ruby %}
$ irb
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Excerpted from the site.
The Pragmatic Programmer's Guide".

It’s a must item for Ruby users on Win32 box. Check also
[eban/ruby/binaries/”&gt;eban’s win32 binaries][2]{: http:=""} to get
[eban/ruby/binaries/eban’s win32 binaries][2] to get
Win32 binaries with dozens of popular extensions.



[1]: http://rubyinstaller.sourceforge.net/
[2]: http://www.dm4lab.to/&lt;sub&gt;usa/ruby/index_en.html#download%E2%80%9D&gt;usa%E2%80%99s%20binaries&lt;/a&gt;%20and%0A&lt;a%20href=
[2]: http://www.dm4lab.to/~usa/ruby/index_en.html#download
15 changes: 7 additions & 8 deletions de/news/_posts/2002-12-05-matzs-slides-at-4-conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ Matz’s Slides at Ruby Conference 2002, OOPSLA2002, LL2 and O+F
kansai(Japanese) are available.

[Ruby Conference 2002][1]
: Slides: [OOPSLA 2002][2]{: http:=""} : Slides: [LL2][3]{: http:=""} :
: Slides: [OOPSLA 2002][2] : Slides: [LL2][3] :
Slides: [KANSAI OPENSOURCE+FREEWARE
2002][4]{: http:=""} : Slides:
[LL2 slides in English to learn Japanese. :) ][5]{:
caps=""}
2002][4] : Slides:
[LL2 slides in English to learn Japanese. :) ][5]



[1]: http://www.rubyconf.org/index.php
[2]: http://www.rubyist.net/&lt;sub&gt;matz/slides/rc2002/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/rc2002/&lt;/a&gt;&lt;/dd&gt;%0A&lt;dt&gt;&lt;a%20href=
[3]: http://www.rubyist.net/&lt;sub&gt;matz/slides/oopsla2002/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/oopsla2002/&lt;/a&gt;&lt;/dd&gt;%0A&lt;dt&gt;&lt;a%20href=
[4]: http://www.rubyist.net/&lt;sub&gt;matz/slides/ll2/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/ll2/&lt;/a&gt;&lt;/dd&gt;%0A&lt;dt&gt;&lt;a%20href=
[5]: http://www.rubyist.net/&lt;sub&gt;matz/slides/of-kansai2002/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/of-kansai2002/&lt;/a&gt;&lt;/dd&gt;%0A&lt;/dl&gt;%0A&lt;p&gt;Last%20item%20is%20in%20Japanese.%20%20Compare%20it%20with%20&lt;span%20class=
[2]: http://www.rubyist.net/~matz/slides/rc2002/
[3]: http://www.rubyist.net/~matz/slides/oopsla2002/
[4]: http://www.rubyist.net/~matz/slides/ll2/
[5]: http://www.rubyist.net/~matz/slides/of-kansai2002/
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Changes:
[\[ruby-talk:58018\]][2] for your entry. Since I created canonical
names automatically with a script<sup>[1](#fn1)</sup>, some owners
would think that it isn’t a suitable name for their project. So UNTIL
THE END OF THIS <acronym title="2002">YEAR</acronym> owner can change
THE END OF THIS <abbr title="2002">YEAR</abbr> owner can change
this “name” field of his/her entry.
* Add new field “short description”. Owners can describe short(63 bytes
or shorter) description here. At now, this field is filled with former
Expand All @@ -41,8 +41,6 @@ Changes:
\[1\] canonical name generation tool;
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/app/raa/tool/name\_conv.rb

<phave fun="" />

RAA development team:
NAKAMURA, Hiroshi aka NaHi and U.Nakamura aka usa.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Cheers,

—ruby-lang.org webmaster team
[webmaster@ruby-lang.org](mailto:webmaster@ruby-lang.org)
{: align="right"}
{: style="text-align: right"}



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ once released to public at 2004-07-05 15:30:00 JST(2004-07-05 06:30:00
UTC). But I, the maintainer of these repository, found my checking
process of CVS repository was not enough. So I suspended the
repositories again. Users who checkout these repositories from
2004-07-05 15:30:00 <acronym title="2004-07-05 06:30:00 &lt;span class="
caps="">UTC\"&gt;JST</acronym> to 2004-07-06 16:30:00 <acronym
title="2004-07-06 07:30:00 &lt;span class="
caps="">UTC\"&gt;JST</acronym> must check your CVS workspace. I’m sorry
2004-07-05 15:30:00 <abbr title="2004-07-05 06:30:00">UTC\"&gt;JST</abbr> to 2004-07-06 16:30:00 <abbr
title="2004-07-06 07:30:00">UTC\"&gt;JST</abbr> must check your CVS workspace. I’m sorry
for the trouble this error caused you. I’ll report again after
confirmation of these repositories. csv and soap libraries which are
bundled to ruby’s repository(/src/ruby) were confirmed that it is safe.
Expand Down
2 changes: 1 addition & 1 deletion de/news/_posts/2006-02-09-conference-season-is-here.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ and/or registering to attend.

[1]: http://www.canadaonrails.org
[2]: http://www.sdforum.org/rubyconference
[3]: http:/www.sdforum.org
[3]: http://www.sdforum.org
[4]: http://rubycentral.org
[5]: http://www.railsconf.org
[6]: http://conferences.oreillynet.com/cs/os2006/create/e_sess/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ Entwicklerversion (1.9 Reihe)

### Referenzen

* [ \[SEC\] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack][4]{:
lang="Mongrel"}
* [ \[SEC\] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack][4]



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ beliebigen Code auszuführen, geschlossen wurden.
#### Sicherheitslücke

Es gab eine Sicherheitslücke, die zu einem Buffer-Overflow führte, wenn
man <tt>ARGF.inplace\_mode</tt> auf Windows gefährliche Werte zuwies.
man <kbd>ARGF.inplace\_mode</kbd> auf Windows gefährliche Werte zuwies.
Sie erlaubte einem Angreifer, beliebigen Code auszuführen. Die
betroffenen Versionen sind:

Expand Down
8 changes: 4 additions & 4 deletions de/news/_posts/2010-07-02-ruby-1-9-2-rc1-verffentlicht.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ Ruby 1.9.2 wird größtenteils mit 1.9.1 kompatibel sein, abgesehen von
den folgenden Änderungen:

* Diverse neue Methoden
* Neues <tt>Socket</tt>-API (IPv6-fähig)
* Neues <kbd>Socket</kbd>-API (IPv6-fähig)
* Neue Zeichenkodierungen
* Eine <tt>Random</tt>-Klasse, die viele verschiedene
* Eine <kbd>Random</kbd>-Klasse, die viele verschiedene
Zufallszahlengeneratoren unterstützt
* <tt>Time</tt> wurde neu implementiert. Es gibt kein Jahr-2038-Problem
* <kbd>Time</kbd> wurde neu implementiert. Es gibt kein Jahr-2038-Problem
mehr.
* Einige Verbesserungen bei Regulären Ausdrücken
* <tt>$:</tt> enthält das aktuelle Verzeichnis (\".\") nicht mehr
* <kbd>$:</kbd> enthält das aktuelle Verzeichnis (\".\") nicht mehr
* dl ist neu implementiert worden; es setzt nun auf libffi auf.
* Eine neue Library namens \"psych\" wrappt libyaml. Du kannst diese
Library anstatt von syck verwenden.
Expand Down
8 changes: 4 additions & 4 deletions de/news/_posts/2010-07-11-ruby-1-9-2-rc2-verffentlicht.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ Ruby 1.9.2 wird größtenteils mit 1.9.1 kompatibel sein, abgesehen von
den folgenden Änderungen:

* Diverse neue Methoden
* Neues <tt>Socket</tt>-API (IPv6-fähig)
* Neues <kbd>Socket</kbd>-API (IPv6-fähig)
* Neue Zeichenkodierungen
* Eine <tt>Random</tt>-Klasse, die viele verschiedene
* Eine <kbd>Random</kbd>-Klasse, die viele verschiedene
Zufallszahlengeneratoren unterstützt
* <tt>Time</tt> wurde neu implementiert. Es gibt kein Jahr-2038-Problem
* <kbd>Time</kbd> wurde neu implementiert. Es gibt kein Jahr-2038-Problem
mehr.
* Einige Verbesserungen bei Regulären Ausdrücken
* <tt>$:</tt> enthält das aktuelle Verzeichnis (\".\") nicht mehr
* <kbd>$:</kbd> enthält das aktuelle Verzeichnis (\".\") nicht mehr
* dl ist neu implementiert worden; es setzt nun auf libffi auf.
* Eine neue Library namens \"psych\" wrappt libyaml. Du kannst diese
Library anstatt von syck verwenden.
Expand Down
2 changes: 1 addition & 1 deletion de/news/_posts/2010-08-24-ruby-1-9-2-verffentlicht.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jedoch gern gesehen.

### FAQ

#### Die Standard Library ist nach <tt>/usr/local/lib/ruby/1.9.**1**</tt> installiert?
#### Die Standard Library ist nach <kbd>/usr/local/lib/ruby/1.9.**1**</kbd> installiert?

Diese Versionsnummer bezeichnet die “Library-Kompatibilitäts-Version”.
Ruby 1.9.2 ist größtenteils mit 1.9.1 kompatibel, daher befindet sich
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Fixes für 1.8.6, 1.8.7 und 1.9.1 werden diesem Post folgen.
* Development-Versionen auf die neueste Revision des jeweiligen Branches
updaten.
* Du kannst die Sicherheitslücke auch beseitigen, indem du einen Patch
auf <tt>$(libdir)/ruby/$\{ruby\_version}/webrick/httpresponse.rb</tt>
auf <kbd>$(libdir)/ruby/$\{ruby\_version}/webrick/httpresponse.rb</kbd>
anwendest. Der von Hirokazu NISHIO geschriebene Patch kann unter der
URL [ftp://ftp.ruby-lang.org/pub/misc/webrick-cve-2010-0541.diff][4]
gefunden werden.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Tabelle in diesem Falle zu erstellen).
## Lösung

Unsere Lösung is es, die Hashfunktion für Strings mit ein paar durch
<acronym title="Pseudo Random Number Generator">PRNG</acronym>
<abbr title="Pseudo Random Number Generator">PRNG</abbr>
generierten Werten aufzulockern, sodass der Hashwert eines Strings nicht
mehr länger deterministisch ist. Dies bedeutet, dass das Ergebnis von
[String#hash][1] nur noch für die Laufzeit des aktuellen Prozesses
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ Excerpted from the site.
The Pragmatic Programmer's Guide".

It’s a must item for Ruby users on Win32 box. Check also
[eban/ruby/binaries/”&gt;eban’s win32 binaries][2]{: http:=""} to get
[eban/ruby/binaries/eban’s win32 binaries][2] to get
Win32 binaries with dozens of popular extensions.



[1]: http://rubyinstaller.sourceforge.net/
[2]: http://www.dm4lab.to/&lt;sub&gt;usa/ruby/index_en.html#download%E2%80%9D&gt;usa%E2%80%99s%20binaries&lt;/a&gt;%20and%0A&lt;a%20href=
[2]: http://www.dm4lab.to/~usa/ruby/index_en.html#download
15 changes: 7 additions & 8 deletions en/news/_posts/2002-12-05-matzs-slides-at-4-conferences.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ Matz’s Slides at Ruby Conference 2002, OOPSLA2002, LL2 and O+F
kansai(Japanese) are available.

[Ruby Conference 2002][1]
: Slides: [OOPSLA 2002][2]{: http:=""} : Slides: [LL2][3]{: http:=""} :
: Slides: [OOPSLA 2002][2] : Slides: [LL2][3] :
Slides: [KANSAI OPENSOURCE+FREEWARE
2002][4]{: http:=""} : Slides:
[LL2 slides in English to learn Japanese. :) ][5]{:
caps=""}
2002][4] : Slides:
[LL2 slides in English to learn Japanese. :) ][5]



[1]: http://www.rubyconf.org/index.php
[2]: http://www.rubyist.net/&lt;sub&gt;matz/slides/rc2002/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/rc2002/&lt;/a&gt;&lt;/dd&gt;%0A&lt;dt&gt;&lt;a%20href=
[3]: http://www.rubyist.net/&lt;sub&gt;matz/slides/oopsla2002/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/oopsla2002/&lt;/a&gt;&lt;/dd&gt;%0A&lt;dt&gt;&lt;a%20href=
[4]: http://www.rubyist.net/&lt;sub&gt;matz/slides/ll2/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/ll2/&lt;/a&gt;&lt;/dd&gt;%0A&lt;dt&gt;&lt;a%20href=
[5]: http://www.rubyist.net/&lt;sub&gt;matz/slides/of-kansai2002/%E2%80%9D&gt;http://www.rubyist.net/&lt;/sub&gt;matz/slides/of-kansai2002/&lt;/a&gt;&lt;/dd&gt;%0A&lt;/dl&gt;%0A&lt;p&gt;Last%20item%20is%20in%20Japanese.%20%20Compare%20it%20with%20&lt;span%20class=
[2]: http://www.rubyist.net/~matz/slides/rc2002/
[3]: http://www.rubyist.net/~matz/slides/oopsla2002/
[4]: http://www.rubyist.net/~matz/slides/ll2/
[5]: http://www.rubyist.net/~matz/slides/of-kansai2002/
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Changes:
[\[ruby-talk:58018\]][2] for your entry. Since I created canonical
names automatically with a script<sup>[1](#fn1)</sup>, some owners
would think that it isn’t a suitable name for their project. So UNTIL
THE END OF THIS <acronym title="2002">YEAR</acronym> owner can change
THE END OF THIS <abbr title="2002">YEAR</abbr> owner can change
this “name” field of his/her entry.
* Add new field “short description”. Owners can describe short(63 bytes
or shorter) description here. At now, this field is filled with former
Expand All @@ -41,8 +41,6 @@ Changes:
\[1\] canonical name generation tool;
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/app/raa/tool/name\_conv.rb

<phave fun="" />

RAA development team:
NAKAMURA, Hiroshi aka NaHi and U.Nakamura aka usa.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Cheers,

—ruby-lang.org webmaster team
[webmaster@ruby-lang.org](mailto:webmaster@ruby-lang.org)
{: align="right"}
{: style="text-align: right"}



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,8 @@ once released to public at 2004-07-05 15:30:00 JST(2004-07-05 06:30:00
UTC). But I, the maintainer of these repository, found my checking
process of CVS repository was not enough. So I suspended the
repositories again. Users who checkout these repositories from
2004-07-05 15:30:00 <acronym title="2004-07-05 06:30:00 &lt;span class="
caps="">UTC\"&gt;JST</acronym> to 2004-07-06 16:30:00 <acronym
title="2004-07-06 07:30:00 &lt;span class="
caps="">UTC\"&gt;JST</acronym> must check your CVS workspace. I’m sorry
2004-07-05 15:30:00 <abbr title="2004-07-05 06:30:00">UTC\"&gt;JST</abbr> to 2004-07-06 16:30:00 <abbr
title="2004-07-06 07:30:00">UTC\"&gt;JST</abbr> must check your CVS workspace. I’m sorry
for the trouble this error caused you. I’ll report again after
confirmation of these repositories. csv and soap libraries which are
bundled to ruby’s repository(/src/ruby) were confirmed that it is safe.
Expand Down
2 changes: 1 addition & 1 deletion en/news/_posts/2006-02-09-conference-season-is-here.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ and/or registering to attend.

[1]: http://www.canadaonrails.org
[2]: http://www.sdforum.org/rubyconference
[3]: http:/www.sdforum.org
[3]: http://www.sdforum.org
[4]: http://rubycentral.org
[5]: http://www.railsconf.org
[6]: http://conferences.oreillynet.com/cs/os2006/create/e_sess/
Expand Down
3 changes: 1 addition & 2 deletions en/news/_posts/2006-11-03-CVE-2006-5467.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ Development version (1.9 series)

### References

* [ \[SEC\] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack][3]{:
lang="Mongrel"}
* [ \[SEC\] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack][3]



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ quite impressive.
They also have hands-on training and a hackaton in the two days before
the main event.

<iframe width="420" height="236" src="http://www.youtube.com/embed/86VcHcaurRQ" frameborder="0" allowfullscreen=""></iframe>
<iframe width="420" height="236" src="//www.youtube.com/embed/86VcHcaurRQ" allowfullscreen></iframe>

The event is at the Hilton Bonaventure Montreal, from February 27th to
March 1st. [Tickets are sold online][2].
Expand Down
3 changes: 1 addition & 2 deletions es/news/_posts/2006-12-04-CVE-2006-5467.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ Versión de desarrollo (series 1.9)

### Referencias

* [ \[SEC\] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack][3]{:
lang="Mongrel"}
* [ \[SEC\] Mongrel Temporary Fix For cgi.rb 99% CPU DoS Attack][3]



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ author: "Hendy Irawan"
lang: id
---

[![](http://farm2.static.flickr.com/1228/591875620_22ec77b45d_m.jpg){:
border="1"}][1]
[![](http://farm2.static.flickr.com/1228/591875620_22ec77b45d_m.jpg)][1]

Komunitas Ruby di Indonesia mempunyai satu lagi situs yang didedikasikan
untuk Ruby yaitu [Planet Ruby Indonesia][1]. Situs ini adalah situs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ machine yang dapat dijalankan dengan menggunakan kode Ruby untuk di
compile ke opcode oleh YARV (Yet Another Ruby VM).

Anda dapat menulis script Ruby dalam sebuah halaman web diantara <script
type="text/ruby"> .. </script>
type="text/ruby"> .. </script>

tag, kemudian HotRuby akan mengekstraknya, lakukan perintah kirim agar
bisa dicompile oleh remote script, kemudian return ke gabungan
Expand Down
12 changes: 0 additions & 12 deletions id/news/_posts/2008-08-23-dos-vulnerability-di-rexml.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ serangan ini.
Penyerang dapat melakuka denial of service yang menyebabkan REXML
memparse dokumen yang berisikan entitas bersarang rekursif seperti:

<nomarkdown markdown="1">

{% highlight ruby %}
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE member [
Expand All @@ -36,8 +34,6 @@ memparse dokumen yang berisikan entitas bersarang rekursif seperti:
</member>
{% endhighlight %}

</nomarkdown>

#### Versi Vulnerable

##### seri 1.8
Expand All @@ -58,29 +54,21 @@ Silakan mendownload monkey patch berikut untuk membenahi masalah ini.
Kemudian benahi aplikasi untuk meload rexml-expansion-fix.rb sebelum
menggunakan REXML.

<nomarkdown markdown="1">

{% highlight ruby %}
require "rexml-expansion-fix"
...
doc = REXML::Document.new(str)
...
{% endhighlight %}

</nomarkdown>

Kalau Anda memiliki aplikasi Rails, copy file `rexml-expansion-fix.rb`
ke direktori yang berada di load path (misalkan di `RAILS_ROOT/lib/`),
dan tambahkan baris-baris kode berikut ini ke `config/environment.rb`.

<nomarkdown markdown="1">

{% highlight ruby %}
require "rexml-expansion-fix"
{% endhighlight %}

</nomarkdown>

Kalau aplikasi Anda menggunakan Rails 2.1 atau lebih baru, Anda bisa
dengan mudah mengcopy file `rexml-expansion-fix.rb` ke dalam direktori
`RAILS_ROOT/config/initializers` dan file monkey patch tersebut akan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ mengesankan.

Mereka juga mengadakan pelatihan dan hackathon dua hari sebelum acara utamanya.

<iframe width="420" height="236" src="http://www.youtube.com/embed/86VcHcaurRQ" frameborder="0" allowfullscreen=""></iframe>
<iframe width="420" height="236" src="//www.youtube.com/embed/86VcHcaurRQ" allowfullscreen></iframe>

Acaranya diselenggarakan di Hilton Bonaventure Montreal, 27 Februari -
1 Maret. [Tiket dijual online][2].
Expand Down
Loading