未返回某些(有效)标签[不支持OutlineGroupNode] [英] Some (valid) tags not being returned [OutlineGroupNode is not supported ]

查看:101
本文介绍了未返回某些(有效)标签[不支持OutlineGroupNode]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OneNote API在某些列表中未返回受支持的标签.

似乎有一个复杂的项目符号列表问题;我们只在返回的标记中看到OutlineGroupNode is not supported.

文档提供了一些指导原则关于如何将标签写到列表中,但是没有提到API在某些情况下不返回任何受支持的标签.

请参见以下示例,此列表违反了哪些规则?

什么构成OutlineGroupNode?

对于某些支持的预先存在的列表/标签内容的一些澄清,将不胜感激.

谢谢

结果标记为:

<snip>

<!-- OutlineGroupNode is not supported --><br>

<ul>
  <li>
    <p lang="en-GB" style="margin-top:0pt;margin-bottom:0pt">
    Top level no tag</p>

    <ul>
      <li style="list-style-type:circle"><span lang="en-GB"
      data-tag="to-do">Sub level with tag</span></li>

      <li style="list-style-type:circle"><span lang="en-GB">Sub
      level no tag</span></li>
    </ul>
  </li>

  <li style="list-style: none"><br></li>
</ul>

</snip>

解决方案

4天后,现在可以使用了;我没有代码更改.

正确返回了复杂列表.标记中没有HTML注释提及OutlineGroupNode.

我只能假设API框架下发生了某些变化.

The OneNote API is not returning supported tags in some lists.

It seems to be an issue with complex bulleted lists; we just see OutlineGroupNode is not supported in the returned markup.

The docs give some guidelines on how to write out tags to lists, but there's no mention of the API not returning any supported tags in certain situations.

Please see the below example, what rules is this list breaking?

What constitutes an OutlineGroupNode?

Some clarity over what pre-existing list/tag content is supported would be appreciated please.

Thanks

The resulting markup is:

<snip>

<!-- OutlineGroupNode is not supported --><br>

<ul>
  <li>
    <p lang="en-GB" style="margin-top:0pt;margin-bottom:0pt">
    Top level no tag</p>

    <ul>
      <li style="list-style-type:circle"><span lang="en-GB"
      data-tag="to-do">Sub level with tag</span></li>

      <li style="list-style-type:circle"><span lang="en-GB">Sub
      level no tag</span></li>
    </ul>
  </li>

  <li style="list-style: none"><br></li>
</ul>

</snip>

解决方案

4 days later it now works; no code changes on my part.

The complex list is returned correctly. No HTML comment in the markup mentioning OutlineGroupNode.

I can only assume that something has changed under the API hood.

这篇关于未返回某些(有效)标签[不支持OutlineGroupNode]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆