【问题标题】:Pulling html text from Message Catalog via Peoplecode通过 Peoplecode 从消息目录中提取 html 文本
【发布时间】:2013-06-13 17:40:15
【问题描述】:

我正在使用 Peoplecode 尝试从消息目录中提取文本。这是它正在提取的文本:显着
超出\n预期

我希望在显着之后有一个换行符,在超出之后有一个换行符。如您所见,我正在尝试两种不同的方法。
和 \n

这是我插入的 PEoplecode:

&sReviewMsgs = &sReviewMsgs | "<div id='act_grph_review_msg_5'>" | MsgGetText(25001, 47, "Message Not Found: Significantly Exceeds Expectations.") | "</div>";

不幸的是,它没有选择换行符,它只是在网页上显示以下文本:显着
Exceeds\nExpectations

有谁知道如何解决这个问题?

【问题讨论】:

    标签: html peoplesoft


    【解决方案1】:

    将换行符替换为&lt;br /&gt;

    【讨论】:

      猜你喜欢
      • 2015-05-10
      • 1970-01-01
      • 2012-07-02
      • 2013-11-22
      • 1970-01-01
      • 2016-03-26
      • 2017-04-24
      • 2013-12-22
      • 1970-01-01
      相关资源
      最近更新 更多