You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No or invalid attributes found in IAL/ALD content – for simple {::comment} #42
$ echo '{::nomarkdown}{:/nomarkdown}' | kramdown >/dev/null
Warning: No or invalid attributes found in IAL/ALD content:
(Users of kramdown-rfc2629 get this around five times for every invocation…)
Fix:
--- kramdown-1.0.1/lib/kramdown/parser/kramdown/extensions.rb~+++ kramdown-1.0.1/lib/kramdown/parser/kramdown/extensions.rb@@ -16,6 +16,7 @@
# Parse the string +str+ and extract all attributes and add all found attributes to the hash
# +opts+.
def parse_attribute_list(str, opts)
+ return if str == ''
attrs = str.scan(ALD_TYPE_ANY)
attrs.each do |key, sep, val, ref, id_and_or_class, _, _|
if ref
Activity
DHB commentedon Mar 20, 2013
forgot to mention: This was no problem in kramdown 0.14.2.
gettalong commentedon Mar 20, 2013
Thanks for reporting! There should definitely not be a warning in this case.
DHB commentedon Mar 20, 2013
This is low priority - No real rush or urgency from my side. I also forgot to say thank you for all your efforts and for this wonderful gem!! Danke.
cabo commentedon Apr 13, 2013
Here is my little test case…
(Users of kramdown-rfc2629 get this around five times for every invocation…)
Fix:
DHB commentedon Apr 13, 2013
Yup, this fixed it nicely. ✅
@cabo : Thank you ..
gettalong commentedon Apr 20, 2013
Is now fixed.