We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://github.com/nricciar/wikicloth/blob/master/test/wiki_cloth_test.rb
I added {{{test one}}} {{{one}}} :
{{{test one}}} {{{one}}}
template do |template| ... when "testparams" "{{{def|hello world}}} {{{1}}} {{{test}}} {{{test one}}} {{{one}}} {{{nested|{{{2}}}}}}" ...
test "template params" do wiki = WikiParser.new(:data => "{{testparams|test|test=bla|test one=foo|it worked|bla=whoo}}\n") data = wiki.to_html end
it works with {{{test}}}, so we can get bla, but not with {{{test one}}}, for there is a whitespace in variable,
{{{test}}}
bla
{{{test one}}}
if we define {{{one}}} in Template, we can get foo, but the right variable should be {{{test one}}}
{{{one}}}
foo
The text was updated successfully, but these errors were encountered:
No branches or pull requests
https://github.com/nricciar/wikicloth/blob/master/test/wiki_cloth_test.rb
I added
{{{test one}}} {{{one}}}
:it works with
{{{test}}}
, so we can getbla
, but not with{{{test one}}}
, for there is a whitespace in variable,if we define
{{{one}}}
in Template, we can getfoo
, but the right variable should be{{{test one}}}
The text was updated successfully, but these errors were encountered: