sr-npm 1.7.1071 → 1.7.1072

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -117,7 +117,6 @@ async function htmlRichContentConverter(sections) {
117
117
  console.log("sections: are ",sections);
118
118
  const richContentObject = {}
119
119
  for (const [sectionTitle, sectionData] of Object.entries(sections)) {
120
- console.log("section: is ",sectionTitle);
121
120
  if (sectionData.text) {
122
121
  const raw = JSON.stringify({
123
122
  content: sectionData.text,
@@ -137,7 +136,6 @@ async function htmlRichContentConverter(sections) {
137
136
  );
138
137
  if (response.ok) {
139
138
  const data = await response.json();
140
- console.log("response is ok")
141
139
  richContentObject[sectionTitle] = data.richContent.richContent;
142
140
  }
143
141
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sr-npm",
3
- "version": "1.7.1071",
3
+ "version": "1.7.1072",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -43,13 +43,17 @@ async function getCategoryValue(customValues) {
43
43
 
44
44
 
45
45
 
46
- _$w('#companyDescriptionText').text = htmlToText(item.jobDescription.companyDescription.text);
47
- _$w('#responsibilitiesText').text = htmlToText(item.jobDescription.jobDescription.text);
48
- _$w('#qualificationsText').text = htmlToText(item.jobDescription.qualifications.text);
46
+ //_$w('#companyDescriptionText').text = htmlToText(item.jobDescription.companyDescription.text);
47
+ _$w('#companyDescriptionText').content = item.jobDescription.companyDescription;
48
+ //_$w('#responsibilitiesText').text = htmlToText(item.jobDescription.jobDescription.text);
49
+ _$w('#responsibilitiesText').content = item.jobDescription.jobDescription;
50
+ //_$w('#qualificationsText').text = htmlToText(item.jobDescription.qualifications.text);
51
+ _$w('#qualificationsText').content = item.jobDescription.qualifications;
49
52
  _$w('#relatedJobsTitleText').text = `More ${item.department} Positions`;
50
53
  if(isElementExistOnPage(_$w('#additionalInfoText')))
51
54
  {
52
- _$w('#additionalInfoText').text = htmlToText(item.jobDescription.additionalInformation.text);
55
+ //_$w('#additionalInfoText').text = htmlToText(item.jobDescription.additionalInformation.text);
56
+ _$w('#additionalInfoText').content = item.jobDescription.additionalInformation;
53
57
  }
54
58
  if(isElementExistOnPage(_$w('#relatedJobsRepNoDepartment'))) // when there is no department, we filter based on category
55
59
  {